Set timeout

Hi! i'm new on Photon, and i'm making a game on my university, but Photon is not allowed (they don't know how to handle with firewalls :shock: ). So i made 2 versions, with and without photon...

so my doubt is: How can i change the server timeout on connect?



  • You could run Photon in the university maybe. Download the server SDK for that. It includes a compiled version, too.

    Which timeout do you want to change? The one until connect times out and tells you about not being connected?
    PhotonNetwork.networkingPeer.DisconnectTimeout would be one value to adjust. It's 10 sec by default.