socket status

How do I display the status(bound or unbound) of a socket in an array if sockets?
Using what libary? Normally you would use "select()" but if you are using a library with a better function then go with that. Also note that the implementation of that function in Windows sucks so I would recommend almost anything as an alternative.
I'm using ws2_32.lib for my program. I tried to google for some function which would serve my purpose but I didn't get any. Any idea what should I do?
You could try select() but again, the implementation on Windows (which I see you are using) is a bit lack luster: https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx
Topic archived. No new replies allowed.