View Single Post
Old Dec 4th, 2005, 9:47 AM   #10
Symptom
Newbie
 
Symptom's Avatar
 
Join Date: Sep 2005
Posts: 28
Rep Power: 0 Symptom is on a distinguished road
It very common to handle every incoming connection to the server, not in the parent process, but with child processes using
fork();
That way when the client is done with the server, the child process ends and, furthermore, the client is able to handle more than one connections simultaneously.
If you're programming under windows though, I don't know if you have a POSIX-like environment that supports these system calls...
__________________
The geeks shall inherit the earth.
Symptom is offline   Reply With Quote