2010-12-28 6 views
1

가능한 중복 :
In Win32, is there a way to test if a socket is non-blocking?소켓이 블로킹 모드인지 여부를 아는 방법? 윈도우

유닉스에, 나는은 fcntl()을 사용할 수 있습니다.

소켓이 블로킹 모드인지 확인하는 데 사용할 수있는 Winsock API가 있습니까?

+0

관련 항목 : http://stackoverflow.com/questions/4230850/check-is-socket-is-blocking-winsock-specific http://stackoverflow.com/questions/5489562/in-win32-is-there -a-way-to-a-socket-is-non-blocking을 테스트합니다. – DuckMaestro

답변

0

불행히도 (놀랍게도) Winsock은 이것을 할 수 없습니다.

+0

하위 레벨 함수를 사용하여이 작업을 수행 할 수 있습니까? – Celebi

+0

잘 모르겠습니다. – bcoughlan

관련 문제