From ca0e90714373764c473e4fad1cccfb223d1ce274 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 9 Mar 2003 16:05:54 +0000 Subject: [PATCH] * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/cygwin/socket.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ec0bc2128..1d0276720 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-03-09 Corinna Vinschen + + * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value. + 2003-03-08 Christopher Faylor * syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE diff --git a/winsup/cygwin/include/cygwin/socket.h b/winsup/cygwin/include/cygwin/socket.h index 3a40c12a3..f89a8ed87 100644 --- a/winsup/cygwin/include/cygwin/socket.h +++ b/winsup/cygwin/include/cygwin/socket.h @@ -106,7 +106,7 @@ struct msghdr #define PF_MAX AF_MAX /* Maximum queue length specificable by listen. */ -#define SOMAXCONN 5 +#define SOMAXCONN 0x7fffffff /* Flags we can use with send/ and recv. */ #define MSG_OOB 0x1 /* process out-of-band data */