Prefer connecting to peers on local network

I am new to networking and the Photon JavaScript SDK, and I haven't been able to find previous discussions on this:
I want two clients on the same local network to prefer connecting to eachother instead of connecting to clients on separate networks. I am aware that all client communication run through a regional cloud server. Self-hosted server is not an option, since I want to connect mobile devices.

It seems Bolt might be the solution for this, but no Bolt SDK currently exists for C2 which is my engine of choice for this project.
Is this at all achievable through the Realtime JavaScript SDK (or some other way)?


  • vadim
    Peer-to-peer connection is not possible in Photon js SDK. Photon Bolt Unity is the only option available currently for direct connections.