http://www.perlmonks.org?node_id=11107398


in reply to Select Tcp Client

But my client doesn't receive any information from the server till i have pressed enter on the client.
This might also be a problem on the client, not only on the server: the client (nc) might be buffering the input, allowing the user to edit the line, until it reads a \n. Only then the input is sent. You can verify that using strace and/or Wireshark.