socket read timeout

Jean-Paul Calderone exarkun at divmod.com
Thu Mar 29 07:52:22 EDT 2007


On Thu, 29 Mar 2007 07:29:35 +0200, Hendrik van Rooyen <mail at microcorp.co.za> 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?

Uh, yes.

>
>I know Ethernet isn't.

Not that this is relevant, but unless you're using a hub, ethernet _is_
full duplex.

Jean-Paul



More information about the Python-list mailing list