in reply to Re^2: pass ARGV to STDINin thread pass ARGV to STDIN
The client forks with the parent listening , and child sending requests to the server and not the parent.
Your parent is actually reading from the server, not listening.