No per-socket TCP keepidle on OpenBSD
A system-wide sysctl(2) net.inet.tcp.keepidle exists, but there is no setsockopt(2) equivalent.
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
#define COMPILE_FOR_FREEBSD 1
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
#define COMPILE_FOR_OPENBSD 1
|
||||
#endif
|
||||
|
||||
// struct sockaddr_in6 is bigger than struct sockaddr. derp
|
||||
#ifdef AF_INET6
|
||||
#define SOCKADDR struct sockaddr_storage
|
||||
|
||||
Reference in New Issue
Block a user