[Zope] Http API Ping

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 12 Oct 2001 14:42:46 +0100


On Fri, 12 Oct 2001 15:10:08 +0100, seb bacon <seb@jamkit.com> wrote:

>* Chris Withers <chrisw@nipltd.com> [011012 14:13]:
>> >   second easiest is to do the naive urllib.urlopen approach - no =
timeouts,
>> > anything like that
>> >=20
>> >   you could also do this with a timeout - you have to do some of it =
yourself,
>> > using select.select - I can post some code for this if you like.
>>=20
>> IIRC, there's a timeout module you can import floating aroudn =
somewhere...
>
>I've done timeouts using signals, too.  I *think* the signal module is
>cross platform.

signals wont do *that* job on win32.

Toby Dickenson
tdickenson@geminidataloggers.com