Quantcast
Viewing latest article 9
Browse Latest Browse All 30

Answer by PhobicGunner

Well, that depends. If you're using Unity Networking, what you're looking at is the Master Server. The Master Server is essentially a lobby that all clients connect to and download a list of games from, and when hosting a game you notify the master server. Look up the Master Server class in the Unity docs. Additionally, you'll probably want to download the source code for the Master Server and host both the Master Server and the Facilitator (which helps perform NAT punchthrough between clients if they are behind routers for example) on a PC that has a public IP address, then configure the network classes to connect to those. Finally, if you're looking at only games hosted on the local network (for example a LAN party) you're probably looking at UDP broadcasting, the host will broadcast his server IP over the network and clients will detect that broadcast and display it to the player.

Viewing latest article 9
Browse Latest Browse All 30

Trending Articles