cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
socket status
socket status
Jul 31, 2015 at 1:28pm UTC
Pter0dactyl
(196)
How do I display the status(bound or unbound) of a socket in an array if sockets?
Jul 31, 2015 at 4:39pm UTC
Computergeek01
(5613)
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.
Aug 3, 2015 at 12:49pm UTC
Pter0dactyl
(196)
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?
Aug 4, 2015 at 4:19pm UTC
Computergeek01
(5613)
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.