Client-side TCP socket receiving "Address already in use" upon connect

Felipe Almeida Lessa felipe.lessa at gmail.com
Sun Sep 3 14:06:09 EDT 2006


2006/9/3, Alex Martelli <aleax at mac.com>:
> Reflecting on the OP's use case, since all connections are forever being
> made to the same 16 servers, why not tweak thinks a bit to hold those
> connections open for longer periods of time, using a connection for many
> send/receive "transactions" instead of opening and closing such
> connections all of the time?  That might well work better...

Connecting to 16 differente servers per second gives a very poor
performance, right? There's some overhead in creating TCP connections,
even on fast networks and computers. Am I right?

-- 
Felipe.



More information about the Python-list mailing list