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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to