select.select and socket.setblocking
Francesco Bochicchio
bockman at virgilio.it
Thu Jan 1 03:31:13 EST 2009
> Can you post an example program that exhibits the behavior you
> describe?
>
>
I was forgetting about the MSG_WAITALL flag ...
When I started programming with sockets, it was on a platform (IIRC
Solaris) that by default behaved like MSG_WAITALL was set by default
(actually, I don't remember it being mentioned at all in the man pages).
This sort of biased my understanding of the matter. I actually used that
flag recently - on Linux - to get the same behavior I was used to, but
forgot about that.
My bad :-)
Ciao
------
FB
More information about the Python-list
mailing list