Read lines from a socket.
This is necessary because a normal socket may block even if there's a line available. This one will set the socket to nonblocking and then block until a single full line is available, but no more.
Read lines from a socket.
This is necessary because a normal socket may block even if there's a line available. This one will set the socket to nonblocking and then block until a single full line is available, but no more.