forked from Mirrors/openclonk
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
parent
ef4f1d9231
commit
459adbd199
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue