socket: connection reset by server before client gets response

ahlongxp ahlongxp at gmail.com
Sun Jul 8 09:08:06 EDT 2007


> Try to wait a while in the server thread, after sending the
> message before closing the connection, to give the message
> time to get transmitted.
>
> time.sleep(0.5) should do it...
>
> - Hendrik

OMG, it works.
I can't believe the problem can be solved so easily.

Thanks very much.




More information about the Python-list mailing list