Search Unity

Networking between mobile and desktop

Discussion in 'Multiplayer' started by chilton, Nov 29, 2019.

  1. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    564
    Hi,

    I build non-gaming software with Unity, and I need to add networking support that allows an iOS / Android versions of my app to talk to the Mac/PC versions of thee app.

    What technology should I use? I don't see a clear path for this, with the new toolsets.

    Thank you!
    -Chilton
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,070
    This depends on what type of game you do. Most networking solutions (I'd say) allow for cross platform communication.
    As you do mobile, I'd recommend a solution with a dedicated server between the clients (distributing the messages). There are a few options and some of those even have managed hosting.

    This thread discussed available packages:
    https://forum.unity.com/threads/wha...of-available-network-solutions-assets.609088/

    The new toolset by Unity is still a bit work in progress. Running dedicated servers with it, means to also run Unity on a machine, which can be benefit but is also costly.
     
    g_a_p likes this.
  3. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    564
    Thank you for your response, Tobiass!

    I'm curious about direct communication between the two apps, with no server. I think C# sockets might be the way to go.

    -Chilton