[Tutor] Pinging some requested IP with Python - usefull or not & some really basic examples needed ...

R. Alan Monroe amonroe at columbus.rr.com
Tue Dec 16 07:07:06 EST 2003


> here - so it is actually his idea then) of writting some code,
> simple as possible, in Python, to ping my ISP from time to time
> (somewhere between 5 - 10 minutes). I am downloading music a lot,
> and having problems, that after there is no other activity

Haven't tried it myself, but you could probably write a small program
to wait a random amount of time, and then telnet to port 80 of a
randomly chosen list of 4 or 5 of your favorite websites. Send a "GET
/" and then just discard whatever comes back.

Alan




More information about the Tutor mailing list