From 98f13d93743a542b3579ed131ec9c9dee72e238d Mon Sep 17 00:00:00 2001 From: B I Mohammed Abbas Date: Fri, 28 Jun 2024 17:31:53 +0530 Subject: [PATCH] Adding constant SOMAXCONN to vxworks (backport ) (cherry picked from commit 9d5b5a7d0c28790a436657d7476528aa70816440) --- src/vxworks/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index c248c64da5012..4f0274241394e 100644 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -797,6 +797,7 @@ pub const S_IRWXO: ::c_int = 0x0007; // socket.h pub const SOL_SOCKET: ::c_int = 0xffff; +pub const SOMAXCONN: ::c_int = 128; pub const SO_DEBUG: ::c_int = 0x0001; pub const SO_REUSEADDR: ::c_int = 0x0004;