Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78792 > unrolled thread
| Started by | Christian Calderon <calderon.christian760@gmail.com> |
|---|---|
| First post | 2014-10-06 15:58 -0700 |
| Last post | 2014-10-06 15:58 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Interesting socket behavior Christian Calderon <calderon.christian760@gmail.com> - 2014-10-06 15:58 -0700
| From | Christian Calderon <calderon.christian760@gmail.com> |
|---|---|
| Date | 2014-10-06 15:58 -0700 |
| Subject | Interesting socket behavior |
| Message-ID | <mailman.14656.1412668365.18130.python-list@python.org> |
[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 top | Article view | comp.lang.python
csiph-web