Sign in to follow this  

winsock poll() vs select()

Recommended Posts

Hello! I'm starting a network library and I've got through Beej's tutorials. I've seen the methods poll() and select(). I'd like to use the poll() function but I have some questions about it : 1- Is it standard, it is not mentionned in MSDN 2- Is it unrecommended to use it instead of select() 3- If I set the timeout value to 0, does it block or does it return immediately? And is there some other thing I should know about the use of poll()? thanks!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this