klyn.net.Socket.receiveBytes
method
public receiveBytes(maxBytes as Int = 4096) as Byte[] throws IOException:
Description

Receives raw bytes from the peer.

Throws
  • IOException if the socket stream is closed, disconnected, times out, or the underlying network I/O fails.