Search Unity

Networking: Finding the master server in LAN

Discussion in 'Multiplayer' started by TheCritt, Dec 18, 2018.

  1. TheCritt

    TheCritt

    Joined:
    Apr 9, 2016
    Posts:
    8
    Hi,

    I am trying to build an app that connects a few devices through the LAN network. The idea is to create a master server on PC app, and the connects to this server from mobile devices like a tablet or phone.
    I tried to use NetworkManager HUD, and in general, everything is working as desired, however, I am trying to figure out how can I find the IP address of the master server (it gets the local IP of the PC, like 192.168.0.51).
    Is there any way that I can find that server address from client device?

    Sorry for a basic question, I am kinda new in networking.
    Thanks a lot,
    Adrian
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847