[ee122] Number of MAX connections that listen() can accept

Daniel Killebrew dank at eecs.berkeley.edu
Tue Sep 18 20:44:35 PDT 2007


As long as your program doesn't take a ridiculously long time in between 
calls to accept, any value > 0 should work. I'd just do some small power 
of 2... say 16? I suppose if you were expecting thousands of new 
connections per second you'd set a higher value, but in our case we're not.

Daniel

Ben Wang wrote:
> Hi all,
> I was wondering for the server portion of the project, how many 
> connections should the listen() part take. The backlogs. Thanks!
>
> -- 
> cheers
>
> Ben Wang
> ------------------------------------------------------------------------
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>   


More information about the ee122 mailing list