in reply to Re^3: golf challenge: one-liner netcat clone
in thread golf challenge: one-liner netcat clone
If you try reading from the socket, your program will become permanently blocked.
The select call takes care of that. The program only reads when there is data available and the buffer is not full.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: golf challenge: one-liner netcat clone
by ikegami (Patriarch) on Dec 11, 2011 at 09:32 UTC |