sendPacket
Sends a packet to the specified channel.
Parameters
channel
The channel to which the packet should be sent.
data
The byte array containing packet data.
Sends a packet to the specified channel.
The channel to which the packet should be sent.
The byte array containing packet data.