Ross, William:
> Just to confirm, on Windows IPV6_V6ONLY is also 27. From Ws2ipdef.h in the Windows SDK:
Thank you for the details; I've seen some of these resources, but for some reason I thought that this is a boolean value. In fact, Microsoft documentation seems to point to that (from the first resource you referenced):
IPV6_V6ONLY | yes | yes | DWORD (boolean) |
The RFC seems to describe a boolean value as well. I'm not sure where the number 27 comes from (I haven't checked the header files), but will update to match the number (and it shouldn't make any difference if it's a boolean value).
Paul.