Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78792
| Date | 2014-10-06 15:58 -0700 |
|---|---|
| Subject | Interesting socket behavior |
| From | Christian Calderon <calderon.christian760@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14656.1412668365.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
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?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Interesting socket behavior Christian Calderon <calderon.christian760@gmail.com> - 2014-10-06 15:58 -0700
csiph-web