Commit ddab25a9 authored by Richard Levitte's avatar Richard Levitte
Browse files

Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.

Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
parent ffbe98b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -72,9 +72,9 @@
#endif

#ifdef SO_MAXCONN
#define MAX_LISTEN  SOMAXCONN
#elif defined(SO_MAXCONN)
#define MAX_LISTEN  SO_MAXCONN
#elif defined(SOMAXCONN)
#define MAX_LISTEN  SOMAXCONN
#else
#define MAX_LISTEN  32
#endif