On Mon, Jan 21, 2008 at 04:14:08PM -0800, Tani Hosokawa wrote:
<snip>
> @@ -1999,7 +1999,7 @@
>        if ((fd = bind_socket(address, port)) == -1)
>                return (-1);
> 
> -       if (listen(fd, 10) == -1) {
> +       if (listen(fd, 8192) == -1) {
>                event_warn("%s: listen", __func__);
>                EVUTIL_CLOSESOCKET(fd);
>                return (-1);

Probably better to use SOMAXCONN instead of an arbitrary number.

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to