aboutsummaryrefslogtreecommitdiff
path: root/src/headers.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-01-03 23:33:31 +0100
committerPieter Wuille <[email protected]>2012-01-06 18:55:37 +0100
commit67a42f929b1434f647c63922fd02dc2b93b28060 (patch)
tree9c4313e815bd77e817f2dc5b796347d343458d0e /src/headers.h
parentMerge pull request #740 from TheBlueMatt/perf (diff)
downloaddiscoin-67a42f929b1434f647c63922fd02dc2b93b28060.tar.xz
discoin-67a42f929b1434f647c63922fd02dc2b93b28060.zip
Network stack refactor
This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself.
Diffstat (limited to 'src/headers.h')
-rw-r--r--src/headers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h
index b6903fe93..6a2a3e4ca 100644
--- a/src/headers.h
+++ b/src/headers.h
@@ -12,7 +12,7 @@
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0501
#ifdef _WIN32_IE
#undef _WIN32_IE
#endif