[Networking] Internet LAN punchthrough

Clients connect to the master server and associate their external ip address to their online data.

  1. A Client clicks the join game button
  2. The system hunts down available potential game from a persistent cache
  3. If it finds no match the master returns info to the client to become a host. Server also saves this new game info into a persistent data cache
  4. The client then does a “open mapname?listen” to become the host server
  5. another client will click join game
  6. master hunts down an available game from the cache
  7. Finds an available game
  8. Sends the host the joining clients external ip to the host(only the ip, no port)
  9. host does a sloppy Call URL to the “externalip:7777”( I couldn’t use open because that closes the current listen state)
  10. master sends client the host external ip
  11. joining client player will then do a “open hostip”

When both players on different LANs this works. However, upon the same LAN this fails.

I removed the 7777 reference from url punch through call( step 9 ), but that didn’t work either :frowning: