VS 2003: Win XP/SP3 compile/tests (Foundation, Net, XML, JSON, UTIL)

This commit is contained in:
Aleksandar Fabijanic
2012-09-10 03:39:50 +00:00
parent 3f23af80c3
commit 0f8264ea55
10 changed files with 192 additions and 42 deletions

View File

@@ -224,7 +224,9 @@ void SocketImpl::bind6(const SocketAddress& address, bool reuseAddress, bool ipV
{
init(address.af());
}
#ifdef IPV6_V6ONLY)
setOption(IPPROTO_IPV6, IPV6_V6ONLY, ipV6Only ? 1 : 0);
#endif
if (reuseAddress)
{
setReuseAddress(true);