Skip to content

Commit 65229f1

Browse files
committed
adding SOMAXCONN to redox
1 parent f05d6a3 commit 65229f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/redox/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pub const SOCK_NONBLOCK: ::c_int = 0o4_000;
813813
pub const SOCK_CLOEXEC: ::c_int = 0o2_000_000;
814814
pub const SOCK_SEQPACKET: ::c_int = 5;
815815
pub const SOL_SOCKET: ::c_int = 1;
816+
pub const SOMAXCONN: ::c_int = 128;
816817

817818
// sys/termios.h
818819
pub const VEOF: usize = 0;

0 commit comments

Comments
 (0)