| Class | PacketIO |
| In: |
lib/network/packetio.rb
|
| Parent: | SockIO |
The PacketIO class implements a mechanism to send and recv packets delimited by a length prefix which is assumed to be a 4 bytes integer in network byte order.
Creates a new PackIO object
read will receive a data from the socket.