Python sock.listen(...)

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-03-15T00:38:14Z Indexed on 2010/03/15 0:39 UTC
Read the original article Hit count: 331

Filed under:
|
|
|
|

All the examples I've seen of sock.listen(5) in the python documentation suggest I should set the max backlog number to be 5. This is causing a problem for my app since I'm expecting some very high volume (many concurrent connections). I set it to 200 and haven't seen any problems on my system, but was wondering how high I can set it before it causes problems..

Anyone know?

© Stack Overflow or respective owner

Related posts about python

Related posts about socket