Nmap Development mailing list archives

Re: DEFAULT_MAX_CONNS


From: Gisle Vanem <gvanem () broadpark no>
Date: Tue, 26 Mar 2013 13:53:20 +0100

"David Fifield" <david () bamsoftware com> wrote:

On Mon, Mar 25, 2013 at 01:15:20PM +0400, OlkhinAG () nk rn-inform ru wrote:
DEFAULT_MAX_CONNS in ncat.h should be set to 62 for windows since select() limited to maximum of 64 events.

Thanks for this information. Why 62 and not 61 for example? Did you run
into a bug with DEFAULT_MAX_CONNS set as it is now?

I assume the OP means there can be >1 listening sockets involved?
I'm not sure what happens when one uses '--listen --keep-open'.

Also see:
www.tangentsoft.net/wskfaq/advanced.html#64sockets

for the '64 event limit' in *some* winsock Layered Service Providers.

--gv
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: