Skip to content

Instantly share code, notes, and snippets.

@piscisaureus
Created February 6, 2011 21:36
Show Gist options
  • Select an option

  • Save piscisaureus/813742 to your computer and use it in GitHub Desktop.

Select an option

Save piscisaureus/813742 to your computer and use it in GitHub Desktop.
diff --git a/src/platform_win32_winsock.cc b/src/platform_win32_winsock.cc
index cecb5a4..1e48969 100644
--- a/src/platform_win32_winsock.cc
+++ b/src/platform_win32_winsock.cc
@@ -391,8 +391,8 @@ error:
static void wsa_init_proto_info_cache() {
wsa_get_proto_info(AF_INET, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[0]);
wsa_get_proto_info(AF_INET, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[1]);
- wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
- wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
+ //wsa_get_proto_info(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &proto_info_cache[2]);
+ //wsa_get_proto_info(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &proto_info_cache[3]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment