1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported)

This commit is contained in:
Perttu Ahola 2011-02-08 11:24:07 +02:00
parent 15f27a1937
commit b0971f4459
6 changed files with 30 additions and 9 deletions

View file

@ -85,6 +85,8 @@ public:
unsigned int getAddress() const;
unsigned short getPort() const;
void setAddress(unsigned int address);
void setAddress(unsigned int a, unsigned int b,
unsigned int c, unsigned int d);
void setPort(unsigned short port);
void print(std::ostream *s) const;
void print() const;