Skip to content

Commit 23fbf1c

Browse files
committed
Auto merge of #2807 - devnexen:solaris_somaxconn, r=JohnTitor
solarish systems SOMAXCONN constant
2 parents 82f0201 + 847d4eb commit 23fbf1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/solarish/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1796,6 +1796,8 @@ pub const TCP_LINGER2: ::c_int = 0x1c;
17961796

17971797
pub const UDP_NAT_T_ENDPOINT: ::c_int = 0x0103;
17981798

1799+
pub const SOMAXCONN: ::c_int = 128;
1800+
17991801
pub const SOL_SOCKET: ::c_int = 0xffff;
18001802
pub const SO_DEBUG: ::c_int = 0x01;
18011803
pub const SO_ACCEPTCONN: ::c_int = 0x0002;

0 commit comments

Comments
 (0)