Sometimes loopback address itself turns something like 192.168.134.1 (while his real local address on the network is quite different, for example 192.168.1.34)
Help me pls sample code, how do I get the program to automatically take the correct local IP of the computer on which the program is running - and send it to the lobby-list of servers to be able to join him on the other clients without resorting to manual input IP addresses. I need everything to be automatic, and the players did not need to drive hands - just pushing the buttons: make game, join game, etc. is it real?