would anyone have sample codes of how socket communication is best managed?
I need to run multiple processes that simultaneously listen and send data
to a socket. I guess this is partly a multithreading problem.