| 1 | #ifndef WIN32_LEAN_AND_MEAN |
| 2 | #define WIN32_LEAN_AND_MEAN |
| 3 | #endif |
| 4 | #undef __CRT__NO_INLINE |
| 5 | #define __CRT__NO_INLINE |
| 6 | #include <winsock2.h> |
| 7 | #include <ws2tcpip.h> |
| 8 | |
| 9 | void IN6ADDR_SETANY(struct sockaddr_in6 *a) |
| 10 | { |
| 11 | 	a->sin6_family = AF_INET6; |
| 12 | 	a->sin6_port = 0; |
| 13 | 	a->sin6_flowinfo = 0; |
| 14 | 	a->sin6_addr = (struct in6_addr){0}; |
| 15 | 	a->sin6_scope_id = 0; |
| 16 | } |