socket timing problem

Alex Martelli aleaxit at yahoo.com
Fri Apr 20 10:23:48 EDT 2001


"David Bolen" <db3l at fitlinxx.com> wrote in message
news:uzodc4dzm.fsf at ctwd0143.fitlinxx.com...
> Timothy O'Malley <timo at alum.mit.edu> writes:
>
> > Timeoutsocket was written for exactly this problem.  Check it out..
> >
> >    http://www.timo-tasi.org/python/timeoutsocket.py
>
> I was wondering - how many Windows based systems are making use of
> this?  We've tried it once or twice briefly but had some problems and
    ...
> This is under NT4 SP4 and 6.  I noticed that a later update
> incorporating changes from Alex Martelli added code for the invalid
> parameter error (looks like you have 1.14 now, we were testing against
> 1.12), but it still looks like the fact that select() returns
> instantly might be an issue - although I suppose a later timeout when
> actually trying to do I/O might still work out fine.
>
> Anyway, I'm curious if there is anyone else using it successfully
> under Windows (perhaps it's an NT thing)?

I've used it successfully (with my changes as incorporated)
under NT4 SP6 (I do have a recent 'Platform SDK' installed,
but I don't think it changes anything in this regard).


Alex






More information about the Python-list mailing list