sendPacket

abstract fun sendPacket(packet: Packet<out Any>)

Sends a packet to the UDP connection.

Parameters

packet

The packet to send.