http://qs321.pair.com?node_id=510766


in reply to Non-Blocking INET getline

Reading with <> will block, because the string it returns is guaranteed to be terminated with a newline, (or the last non-terminated string before the end of communication). I agree that you should use sysread when reading from sockets.