From 847d4ebf04e0e44355710ff766314863deaa4457 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 28 May 2022 16:46:01 +0100 Subject: [PATCH] solarish systems SOMAXCONN constant --- src/unix/solarish/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index 3ccdb8ca..fef08d08 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -1796,6 +1796,8 @@ pub const TCP_LINGER2: ::c_int = 0x1c; pub const UDP_NAT_T_ENDPOINT: ::c_int = 0x0103; +pub const SOMAXCONN: ::c_int = 128; + pub const SOL_SOCKET: ::c_int = 0xffff; pub const SO_DEBUG: ::c_int = 0x01; pub const SO_ACCEPTCONN: ::c_int = 0x0002;