Python sockets/select
David Allen
s2mdalle at titan.vcu.edu
Wed Jun 21 17:58:33 EDT 2000
> Actually, there are some possibilities to get 0 bytes on a return
> without hitting EOF: if you are using a wrapper object that possibly
> eats up some bytes (for protocol negotiation, for instance.) Telnetlib
> is a good example of this:
Hmm. That makes sense. The information sent over the network could
be > 0 bytes, but nothing but headers, no "body" data, right?
> If you do something similar in your own sockets, this may well be the
> case.
I'll have to reexamine my code very carefully. There is no protocol
stripping going on at all.
--
David Allen
http://opop.nols.com/
----------------------------------------
Can't sleep...Clown will eat me...
More information about the Python-list
mailing list