klyn.net.Socket.receive
method
public receive(maxBytes as Int) as String throws IOException:
Description

Receives text data from the peer.

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