socket freezes

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Fri Mar 3 09:39:05 EST 2006


Luis P. Mendes:
>I've developed a program that uses a socket to receive information 24h a
>~ day.
>
>The problem is that the socket seems to freeze.  By that I mean the
>program stops getting information but doesn't raise any error.

That's weird. There's probably a bug in your program.

>I tried to solve this by writing the following functions, in order to
>try to start the socket connection again:

So now you have two problems. When there's a bug in your program, it's
usually best to hunt it down, rather than to add more code with more bugs
:-)

-- 
René Pijlman



More information about the Python-list mailing list