Author Topic: UDP Lobby Server  (Read 2215 times)

Manmax75

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 32
    • View Profile
UDP Lobby Server
« on: October 04, 2013, 09:08:56 PM »
I modified the standalone server example to just run an external UDP lobby server. However when clients start a server, their internal IP address is shown rather than their external.
I'm just using the example menu for hosting servers inside of Unity.

How can I get it to show the external IP?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UDP Lobby Server
« Reply #1 on: October 04, 2013, 09:45:25 PM »
The way determining of an external address works is TNet does a web request to a remote website's php script which simply returns the IP address. This is not possible when targeting the web player unless the remote website has a policy server set up. There have been a few threads on this in the past, where I've even posted the actual script that I've used on the Starlink's server.