1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:17:35 +00:00

LibC: Define a SOMAXCONN value in socket.h

No idea if this is sensible; but some software will look for it.
This commit is contained in:
Robin Burchell 2019-05-16 09:30:02 +02:00 committed by Andreas Kling
parent f0f5dd6cef
commit 619489da62

View file

@ -47,6 +47,7 @@ struct sockaddr_in {
}; };
#define SOL_SOCKET 1 #define SOL_SOCKET 1
#define SOMAXCONN 128
#define SO_RCVTIMEO 1 #define SO_RCVTIMEO 1
#define SO_SNDTIMEO 2 #define SO_SNDTIMEO 2