MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
346 stars 89 forks source link

LAN broadcasting returns IP:PORT:PORT #182

Open tomreyn opened 6 years ago

tomreyn commented 6 years ago

The addresses returned when broadcasting for LAN servers are incorrect on Windows clients (only? needs testing).

I ran a headless server on Linux, the standard (graphical) client on Windows 10, and when I clicked on "Find LAN games" MG does find the Linux server but it finds it as IPv4:PORT:PORT (e.g. 10.10.10.10:61357:61357). At least this is what it shows in the clients' LAN game GUI on the "server" field for a second while it tries to connect to this server.

The connection still succeeded in my case, so there is no real impact for me, but the duplicate port number still seems wrong