socket freezes

Luis P. Mendes luis_lupe2XXX at netvisaoXXX.pt
Fri Mar 3 21:12:22 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


| Try setting a default timeout on the socket, and if it times out
| recontact the other system on a new socket. See socket.setdefaultimeout()
|
| regards
|  Steve

Thank you for your answers.

I'm beggining to suspect that the problem has to do with a discontinual
of service of the ISP.  It provides me a dynamic IP address not a static
one.

I say this because after some hours, I returned to the computer and
could not acess the internet for surfing port 80 and the socket was also
down again - it just uses another port.

After unplugging the power cord of the cable modem from the internet and
pluging it in after a while, I could already access sites (http).  But
the socket was still down, still with no error raised.

Based on this hypothesis, is there any way for my python program to deal
with this?  Any thoughts?

Thanks again.

Luis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFECKMmHn4UHCY8rB8RAoeAAJ92sEUsFk2bsXcCX77cDyHY2jOogwCgnGKZ
xStEmoEDTDrhVE7+aIAxSbI=
=qzed
-----END PGP SIGNATURE-----



More information about the Python-list mailing list