Request to daemon hands
aastafiev opened this issue · 2 comments
aastafiev commented
Hello,
While I was reproducing example in Daemon example I found that after command echo " abc-example| a b c" | netcat localhost 26542
the result printed and hands until I Ctrl+C. This happens in python code after I send message and trying to recv.
What I'm doing wrong?
aastafiev commented
I put detailed info on stackoverflow
JohnLangford commented
You need to close the connection so netcat knows to tear things down. CTRL+C works, but CTRL+D is cleaner.