STINNER Victor added the comment:

I tested polling+getsockopt(SO_ERROR) with connect_test.c on Linux, it works:

haypo@smithers$ gcc -D TEST_TWO=1 connect_test.c -o connect_test
haypo@smithers$ ./connect_test 
Will try to connect to 127.0.0.1 on port 80
(connect has been interrupted and now completed successfully)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23618>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to