Next Generation Emulation banner
1 - 1 of 1 Posts

· Knowledge is the solution
Joined
·
7,484 Posts
What I normally do with Unix sockets sockets is to fork a process for every client that comes and request a connection. That is, you use a main socket for listening for start session requests, but you fork a new, different socket to establish a formal connection with that client. That way you can keep the main socket open to listen for more incoming connections (This would be akin to some sort of socket factory).
 
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top