New answers tagged socket
found SO_MARK which sets a mark for each packet sent through a specific socket.
If you need to save the intermediate file after the processing is done, then inter-process communication (such as through a pipe or socket) is not particularly valuable. Similarly, if you need to run the two programs at vastly different times, you should just do it the way you're doing it now. Back when Unix was created, disks were very small, and it was ...
As soon as the listening nc (server) gets closed, the client nc quits as well. On Mac OS X you can open -a 'Activity Monitor' to verify that. The reason why the nc & cat example hangs is not nc but cat that continues to keep its stdin and stdout open for reading and writing. However, when cat tries to write to the pipe after the listening nc has been ...
Top 50 recent answers are included