Sockets: code works locally but fails over LAN

Grant Edwards grante at visi.com
Wed Aug 31 09:42:25 EDT 2005


On 2005-08-31, Peter Hansen <peter at engcorp.com> 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
                               visi.com            CARPETS to a SERBO-CROATIAN



More information about the Python-list mailing list