<<On Fri, 13 Apr 2001 04:01:25 -0700, Alfred Perlstein <[EMAIL PROTECTED]> said:

> Actually, the correct fix is most likely to redefine it to -1. :)

POSIX.1-200x draft 5 has this to say:

        Implementations shall support values of backlog up to
        SOMAXCONN, defined in <sys/socket.h>

        If listen( ) is called with a backlog argument value that is
        less than 0, the function behaves as if it had been called
        with a backlog argument value of 0.  A backlog argument of 0
        may allow the socket to accept connections, in which case the
        length of the listen queue may be set to an
        implementation-defined minimum value.

So, SOMAXCONN is supposed to be a minimum maximum.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to