Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Photon On Premise - Timeout Settings for ACK response

$
0
0
Hello there!

We are using photon on premise for a development of MMORPG which will run on mobile phones such as iPhone and Android. As I know photon will automatically disconnect peers which does not responds to pings from server
Yes, this is still the case. And honestly, I don't see a use case where this is too short.



Photon sends a "ping" to a client in short frequencies. A client acknowledges that it has received this data (it sends back an ACK). This is not necessarily related to any operations etc. - it is just a very low-level "connectivity check".



The ENET timeout specifies the max. timespan for which Photon waits for an ACK for its ping. If an ENet client is not able to send a single ACK for a whole minute (!), there is a serious network issue - i.e., the client is disconnected.



There is no need to send operations / data every minute. Your client can be "idle" for several minutes, as long as it is able to send ACKs regularly.



Does this help, or is there a use case for which you absolutely need to have larger timeouts? We are always interested in your use cases, so that we can improve Photon to match your needs - so if you can convince us that a change is useful, we are always willing to make that change. :)
I would like to set maximum retry times and / or min - max wait time before photon decides to disconnect the peer. However, for the last 3 hours, I haven't been searching but to no avail. Can someone give me some hints? :)



Viewing all articles
Browse latest Browse all 15755

Trending Articles