[ee122] Iterating through existing sockets on server.
huntingtonsurfca at gmail.com
Wed Sep 19 23:19:37 PDT 2007
I talked to Jorge about how to abstinate from using auxillary structures to
dynamically store new client socket connections, but unfortunately I can't
find any information on it.
Is there a way to hold onto many dynamic sockets without creating some sort
of data structure with which to keep track of the fd's, so that I can
iteratively see if any are ready to be interacted with?
Also, is there a way to timeout accept() so that I can do more processing if
there are no waiting connections? How exactly am I supposed to bypass it if
it hangs the system?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ee122