Fix local network discovery on Windows (#1886)

On Windows, we cannot resolve addresses using getaddrinfo() before
initializing Winsock. By storing the address as string, the address
parsed later on.
alut-include-path
Lukas Werling 2017-01-21 16:03:03 +01:00
parent ef4f1d9231
commit 459adbd199
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
const int C4NetMaxDiscover = 64;
const C4NetIO::HostAddress C4NetDiscoveryAddress = C4NetIO::HostAddress(StdStrBuf("ff02::1"));
const StdStrBuf C4NetDiscoveryAddress = StdStrBuf("ff02::1");
class C4Network2IODiscover : public C4NetIOSimpleUDP, private C4NetIO::CBClass
{