Available functions

raknet.add_send_hook

Registers a callback for outgoing native sends.

raknet.remove_send_hook

Removes the first matching send-hook callback by function identity.

raknet.send

Sends a nonempty payload through the initialized native RakNet peer.

RakNetPacket.Block

Blocks the current native send and skips subsequent send callbacks.

RakNetPacket.SetData

Replaces the current outgoing payload.
View types and behavior