mirror of
https://github.com/Wind4/vlmcsd
synced 2025-09-08 11:45:34 +00:00
vlmcsd-1108-2017-01-19-Hotbird64
This commit is contained in:
@@ -570,8 +570,12 @@ static int listenOnAddress(const struct addrinfo *const ai, SOCKET *s)
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
// if (IsWindowsVistaOrGreater()) //Doesn't work with older version of MingW32-w64 toolchain
|
||||
if ((GetVersion() & 0xff) > 5)
|
||||
{
|
||||
# endif // _WIN32
|
||||
printerrorf("Warning: %s does not support socket option IPV6_V6ONLY: %s\n", ipstr, vlmcsd_strerror(socket_errno));
|
||||
# if defined(_WIN32) || defined(__CYGWIN__)
|
||||
}
|
||||
# endif // _WIN32
|
||||
# endif // _PEDANTIC
|
||||
}
|
||||
# endif
|
||||
@@ -661,6 +665,10 @@ BOOL addListeningSocket(const char *const addr)
|
||||
numsockets++;
|
||||
result = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
exitOnWarningLevel(1);
|
||||
}
|
||||
}
|
||||
|
||||
freeaddrinfo(aiList);
|
||||
|
Reference in New Issue
Block a user