New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

raknet

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raknet

UDP network library that follows the RakNet protocol for Node.js

latest
Source
npmnpm
Version
1.8.0
Version published
Maintainers
2
Created
Source

raknet

NPM version Join the chat at https://gitter.im/PrismarineJS/node-minecraft-protocol

Note: This project is not affiliated with Jenkins Software LLC nor RakNet.

UDP network library that follows the RakNet protocol for Node.js

API

createClient(options)

Create a client. options :

  • host
  • port
  • password (optional)
  • customPackets (optional)
  • customTypes : native protodef types (optional)
  • clientID : a long representing the client id, default to [339844,-1917040252]
  • mtuSize : default to 1492

createServer(options)

Create a server. options :

  • host
  • port
  • name (optional)
  • customPackets (optional)
  • customTypes : native protodef types (optional)
  • serverID : a long representing the server id, default to [ 339724, -6627871 ]

createSerializer()

Return a raknet packet serializer, see node-protodef doc.

createDeserializer()

Return a raknet packet serializer, see node-protodef doc.

Thanks

Keywords

raknet

FAQs

Package last updated on 18 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts