Re: How many connections can accept a 'binded' socket?

2007-03-21 Thread billiejoex
On 20 Mar, 17:44, John Nagle <[EMAIL PROTECTED]> wrote: > When you ask questions like this, please specify what > operating system you're using. Thanks. That was a Linux Ubuntu 6.10. I submitted a bug report on sourceforge: http://sourceforge.net/tracker/index.php?func=detail&aid=1685000&group_i

Re: How many connections can accept a 'binded' socket?

2007-03-20 Thread John Nagle
billiejoex wrote: > Hi, > I'm writing a small asyncore-based server application serving a lot of > clients. When I have to handle more than 1021 client simoultaneously > the 'binded' socket object raises an error: When you ask questions like this, please specify what operating system you're u

Re: How many connections can accept a 'binded' socket?

2007-03-20 Thread Alex Martelli
"asyncore_client.py", line 24, in handle_connect > > File "asyncore_client.py", line 9, in __init__ > > File "asyncore.py", line 257, in create_socket > > File "socket.py", line 156, in __init__ > > socket.error: (24, 'Too ma

Re: How many connections can accept a 'binded' socket?

2007-03-20 Thread Laurent Pointal
ncore.py", line 257, in create_socket > File "socket.py", line 156, in __init__ > socket.error: (24, 'Too many open files') > > I just wanna know: is there a way to know how many connections can > accept a 'binded' socket BEFORE getting su

How many connections can accept a 'binded' socket?

2007-03-20 Thread billiejoex
;, line 395, in handle_write_event File "asyncore_client.py", line 24, in handle_connect File "asyncore_client.py", line 9, in __init__ File "asyncore.py", line 257, in create_socket File "socket.py", line 156, in __init__ socket.error: (24, 'T