After sucessfully creating my first online multiplayer with servers and clients in UDP, I am wondering how LAN connections works. As it is right now, I need to open a server and forward the ports for the server if public. In LAN, they connection is possible but requires the local IP address.
However, if we take Minecraft or Starcraft, the game is able to auto detects servers on your local network.
How are they achieving this ?