Sockets: code works locally but fails over LAN

Grant Edwards grante at
Wed Aug 31 15:42:25 CEST 2005

On 2005-08-31, Peter Hansen <peter at> wrote:

> 2. I'm not at all sure that accessing the same socket object 
> simultaneously from two threads is safe.

It's OK under Unix.  Having one thread handle rx and a
different one handle tx is a pretty widely used method.

Don't know about Win32...

Grant Edwards                   grante             Yow!  Someone in DAYTON,
                                  at               Ohio is selling USED
                                 CARPETS to a SERBO-CROATIAN

More information about the Python-list mailing list