Skip to content

Commit 98f13d9

Browse files
B I Mohammed Abbastgross35
B I Mohammed Abbas
authored andcommitted
Adding constant SOMAXCONN to vxworks
(backport <#3761>) (cherry picked from commit 9d5b5a7)
1 parent 18210ca commit 98f13d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vxworks/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ pub const S_IRWXO: ::c_int = 0x0007;
797797

798798
// socket.h
799799
pub const SOL_SOCKET: ::c_int = 0xffff;
800+
pub const SOMAXCONN: ::c_int = 128;
800801

801802
pub const SO_DEBUG: ::c_int = 0x0001;
802803
pub const SO_REUSEADDR: ::c_int = 0x0004;

0 commit comments

Comments
 (0)