Skip to content

Commit 9d5b5a7

Browse files
author
B I Mohammed Abbas
committed
Adding constant SOMAXCONN to vxworks
1 parent dc77d30 commit 9d5b5a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vxworks/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ pub const S_IRWXO: ::c_int = 0o0007;
768768

769769
// socket.h
770770
pub const SOL_SOCKET: ::c_int = 0xffff;
771+
pub const SOMAXCONN: ::c_int = 128;
771772

772773
pub const SO_DEBUG: ::c_int = 0x0001;
773774
pub const SO_REUSEADDR: ::c_int = 0x0004;

0 commit comments

Comments
 (0)