aboutsummaryrefslogtreecommitdiff
path: root/src/wsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wsocket.h')
-rw-r--r--src/wsocket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wsocket.h b/src/wsocket.h
index 0783b00..8fbc54d 100644
--- a/src/wsocket.h
+++ b/src/wsocket.h
@@ -16,6 +16,10 @@ typedef SOCKADDR_STORAGE t_sockaddr_storage;
16typedef SOCKET t_socket; 16typedef SOCKET t_socket;
17typedef t_socket *p_socket; 17typedef t_socket *p_socket;
18 18
19#ifndef IPV6_V6ONLY
20#define IPV6_V6ONLY 27
21#endif
22
19#define SOCKET_INVALID (INVALID_SOCKET) 23#define SOCKET_INVALID (INVALID_SOCKET)
20 24
21#ifndef SO_REUSEPORT 25#ifndef SO_REUSEPORT