Skip to content

Commit

Permalink
Adding constant SOMAXCONN to vxworks
Browse files Browse the repository at this point in the history
(backport <rust-lang#3761>)
(cherry picked from commit 9d5b5a7)
  • Loading branch information
B I Mohammed Abbas authored and tgross35 committed Aug 13, 2024
1 parent 18210ca commit 98f13d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vxworks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98f13d9

Please sign in to comment.