O_NONBLOCK vs. O_NDELAY for non-blocking sockets

Hrvoje Niksic hniksic at srce.hr
Tue May 25 09:28:14 EDT 1999


"Gordon McMillan" <gmcm at hypernet.com> writes:

> All these flavors of sockets are available on HPUX. Python manages
> to build with BSD semantics. Maybe it's just dumb luck though
> <wink>, when I glance at configure, I don't see anything that sets
> this.

Huh?  Just look at Modules/socketmodule.c, the definition of
setblocking(), and use of O_NDELAY is right there.




More information about the Python-list mailing list