Advertisement

question about select()

Started by February 09, 2002 07:36 AM
0 comments, last by Kensi 22 years, 11 months ago
i have a non blocking server that uses select to poll the sockets if there is data coming in. My question is, that is it possible for more than one socket in the set that select scans to have data coming in ? or does select ''queue'' up pending messages, and only sets it on the next select() call? basically, is FD_ISSET(...) only true for one socket per select() call, or can multiple sockets FD_ISSET check return true per select call ? basically basically, can there only be one socket with data coming in per select() call ? ok, i think i made my question clear
There can be more than one.
--Samuel AnderssonOmnigames.se

This topic is closed to new replies.

Advertisement