klyn.net.Socket.readLine
method

    public readLine() as String throws IOException:

Description

Reads one line from the socket.

Socket line readers consume the line terminator. This matches common line-oriented network protocols where callers compare the payload line, not the transport delimiter.

Throws

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