Skip to main content

Alias

  • RakNet.Send
  • raknet.send
  • raknet.Send

Arguments

string | buffer | {number} | RakNetPacket | RakNetPacketTable
requis
Packet data or packet object to queue. Array-table bytes must be numbers from 0 through 255.
integer
Optional priority used only for raw data calls. Defaults to 2.
integer
Optional reliability used only for raw data calls. Defaults to 3.
integer
Optional ordering channel used only for raw data calls. Defaults to 0.

Types

RakNetPacketTable

Table form accepted by RakNet.send.

RakNetPacket

Live packet object passed to RakNet hooks and packet signal callbacks. It is only valid during the callback that receives it.

Exemple

Queue packet data after checking that the RakNet API surface is enabled.