diff --git a/src/eckit/net/SocketOptions.cc b/src/eckit/net/SocketOptions.cc index e180c0e54..530ecf170 100644 --- a/src/eckit/net/SocketOptions.cc +++ b/src/eckit/net/SocketOptions.cc @@ -9,6 +9,7 @@ */ #include +#include #include "eckit/config/Resource.h" #include "eckit/net/SocketOptions.h" @@ -18,7 +19,7 @@ namespace eckit::net { static void init(SocketOptions& opts) { static std::string bindAddr = Resource("localBindingAddress", ""); /* "127.0.0.1" */ - static int ListenBacklog = eckit::Resource("socketOptionsListenBacklog", 128); + static int ListenBacklog = eckit::Resource("socketOptionsListenBacklog", SOMAXCONN); static bool reusePort = eckit::Resource("socketOptionsReusePort", false); static bool reuseAddr = eckit::Resource("socketOptionsReuseAddr", false);