From 121cc380f546fec36149da7a50b5817d01058387 Mon Sep 17 00:00:00 2001 From: B I Mohammed Abbas Date: Fri, 28 Jun 2024 17:31:53 +0530 Subject: [PATCH] Adding SOMAXCONN to vxworks --- src/vxworks/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index bc4dbddae0a9f..f50f31031605f 100644 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -768,6 +768,7 @@ pub const S_IRWXO: ::c_int = 0o0007; // 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;