J
Jim Kipp
Hi
I am writing a simple server to monitor ports. The problem is I don't know
how to make it listen on multiple ports. It creates the first socket,
listens, than accepts and of course the accept call blocks, so it does not
return to create socket for the other ports. I am doing this in windows, so
using 'fcntl' to do non blocking won't work.
Any suggestions? I can paste the code if need be.
Thanks
I am writing a simple server to monitor ports. The problem is I don't know
how to make it listen on multiple ports. It creates the first socket,
listens, than accepts and of course the accept call blocks, so it does not
return to create socket for the other ports. I am doing this in windows, so
using 'fcntl' to do non blocking won't work.
Any suggestions? I can paste the code if need be.
Thanks