socket read timeout
Hendrik van Rooyen
mail at microcorp.co.za
Sun Apr 1 11:19:01 EDT 2007
"Steve Holden" <s..e at hol....eb.com>
> 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.
This seems to bear out the scenario I have described elsewhere in this
thread - I think its caused by the file handlers, but I don't _know_ it.
>
> > I know Ethernet isn't.
> >
> Don't know much, then, do you? ;-)
No not really - I easily get confused by such things as collisions...
: - )
- Hendrik
More information about the Python-list
mailing list