Skip to content

Commit f5ba622

Browse files
ThomasdezeeuwJohnTitor
authored andcommitted
Add SOMAXCONN to ESP-IDF
1 parent 939f009 commit f5ba622

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

libc-test/semver/espidf.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SIGQUIT
3131
SIGSEGV
3232
SIGTERM
3333
SOL_SOCKET
34+
SOMAXCONN
3435
cmsghdr
3536
dirent
3637
eventfd

src/unix/newlib/espidf/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ pub const SIGHUP: c_int = 1;
9797
pub const SIGQUIT: c_int = 3;
9898
pub const NSIG: size_t = 32;
9999

100+
pub const SOMAXCONN: c_int = 128;
101+
100102
extern "C" {
101103
pub fn pthread_create(
102104
native: *mut crate::pthread_t,

0 commit comments

Comments
 (0)