Using setsockopt() with an option IPV6_V6ONLY for non-Windows platforms only
Adding preprocessor define USE_IPV6 for Visual C++ projects to support IPv6 protocol