> Currently, 'nc -l <port>' can only process one TCP connection to the 
> same port at a time, because it keeps the listening socket open during 
> communication, therefore preventing others to connect to the other 
> instances of 'nc' on the same port.
> 
> Attached patch moves close() call up to be right after accept and before 
> communication.


And now let's ask the question which matters.  What usage patterns do
you break with this change?

Did you think of that?  Or are you only thinking of your own uses..?

Reply via email to