🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

question about select()

Started by
0 comments, last by Kensi 22 years, 4 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
Advertisement
There can be more than one.
--Samuel AnderssonOmnigames.se

This topic is closed to new replies.

Advertisement