socket read timeout
Steve Holden
steve at holdenweb.com
Sun Apr 1 05:45:12 EDT 2007
Hendrik van Rooyen wrote:
> <skip at p....x.com> wrote:
>
>
>> hg> My issue with that is the effect on write: I only want a timeout on
>> hg> read ... but anyway ...
>>
>> So set a long timeout when you want to write and short timeout when you want
>> to read.
>>
>
> Are sockets full duplex?
>
Yes. But you have to use non-blocking calls in your application to use
them as full-duplex in your code.
> I know Ethernet isn't.
>
Don't know much, then, do you? ;-)
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
More information about the Python-list
mailing list