News

The only time to pickle something is if you need to represent a non-string object on disk, but Python code is strings. I presume that the receiving program is basically calling eval (skt.recv ()).
That works, but it looks like the timeout is either 30 or 60 seconds which is rather long if the socket is not there.