How many sockets can I get from accept()?

Sergei Organov osv at
Mon Feb 18 14:04:01 UTC 2002


In my application 6'th invocation of accept() on a socket starts to just
return -1 after 5 connections have been already accepted and not yet
closed. As soon as I close one of previously accepted connections, accept()
returns to its normal operation. Is 5 connections an arbitrary limit and if
so, where it is defined?


More information about the users mailing list