Skip to content

Commit ce2ccd5

Browse files
authored
Merge pull request #3761 from biabbas/main
Adding constant SOMAXCONN to vxworks
2 parents dc77d30 + 9d5b5a7 commit ce2ccd5

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)