Interesting socket behavior
calderon.christian760 at gmail.com
Tue Oct 7 00:58:03 CEST 2014
I noticed that if I make a listening socket using SOCK_STREAM |
SOCK_NONBLOCK, that the sockets I get after calling listener.accept() don't
have the O_NONBLOCK flag set, but checking the result of gettimeout() on
the same sockets gives me 0.0, which means they are non blocking. Why is
this the case?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list