Sockets: code works locally but fails over LAN
Bryan Olson
fakeaddress at nowhere.org
Wed Aug 31 16:15:17 EDT 2005
Grant Edwards wrote:
> Peter Hansen 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...
A thread for send and one for recv is also frequently used with
Winsock. Can anyone vouch for the Python wrapping?
--
--Bryan
More information about the Python-list
mailing list