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:
parent
15f27a1937
commit
b0971f4459
6 changed files with 30 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue