开发者

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

开发者 https://www.devze.com 2023-02-01 04:50 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: In W开发者_开发技巧in32, is there a way to test if a socket is non-blocking?
This question already has answers here: Closed 10 years ago.

Possible Duplicate:

In W开发者_开发技巧in32, 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消