On 2017-12-29 01:17, Richard Hipp wrote:
On 12/28/17, Olivier Mascia <o...@integral.be> wrote:
To get a proper dual-stack socket, the socket must be created with AF_INET6
first then setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,...)
When I try to do this I get: error C2065: 'IPV6_V6ONLY': undeclared identifier
MSVC 2015
MSVC 2015 here too, and no error.
Maybe the SDK is too old, no idea.
Check the bottom of
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738574(v=vs.85).aspx
.
This could be an option too:
#ifndef IPV6_V6ONLY
#define IPV6_V6ONLY 27
#endif
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users