socket module's listen backlog problem
janeaustine50 at hotmail.com
Tue Apr 29 01:19:41 CEST 2003
I'm running Python 2.3b1, which has been downloaded from python.org as
binary, on my Win XP Pro machine.
socket.SOMAXCONN is 5. I want it to be higher. However, listen with
higher backlog number doesn't work.
I'm using asyncore and removed the following code but it still doesn't
work with more than 5 backlogs.
if os.name == 'nt' and num > 5:
num = 1
I suppose the socket module uses winsock2.h and it's SOMAXCONN is
What's wrong? What can I do to increase listen backlog?
More information about the Python-list