Minimizing Connection reset by peer exceptions
Ben Sizer
kylotan at gmail.com
Thu Oct 20 08:53:40 EDT 2005
Steve Holden wrote:
> Do note, though, that if you aren't using some means (threading,
> forking, etc) of handling the connections asynchronously then your
> server will normally only queue a very limited number of connections
> (usually 5 at most).
The example given by the original poster seemed to be a client (using
connect_ex) rather than a server, so I think this would only be an
issue if the code was connecting to the same host repeatedly in quick
succession.
--
Ben Sizer
More information about the Python-list
mailing list