readPacket
Reads a packet of packet bytes from the channel.
Throws
EOFException
if the channel is closed before the packet is fully read.
Reads a packet of packet bytes from the channel.
if the channel is closed before the packet is fully read.