Search code examples
socketswinsockblockingnonblockingmode

How to know a socket is blocking mode or not? On Windows


Possible Duplicate:
In Win32, is there a way to test if a socket is non-blocking?

On Unix, I can use fcntl().

Are there any Winsock API I can use to check a socket is blocking mode or not?


Solution

  • Winsock unfortunately (and surprisingly) isn't able to do this.