Reliable commands are repeated in short intervals until an acknowledgement arrives. If so, the receiving end has to acknowledge the command. Unlike plain UDP, Photon's reliable UDP protocol establishes a connection between server and clients:Ĭommands within a UDP package have sequence numbers and a flag if they are reliable. See ' Timeout Disconnect' for more details.
Server-side timeout: no/too late ACKs from client.Client connection fails on send (buffer full, connection loss).Client connection fails on receive (buffer full, connection loss).Client socket exception (connection loss).Client-side timeout: no/too late ACKs from the server.
Here we list the major disconnect causes and whether they are caused on the client or the server side. Use those to investigate the unexpected disconnects you are having. In this context, those are not considered disconnects but '(initial) connection failures'.Ĭlient SDKs provide disconnection callbacks and a disconnect cause. server unreachable, bad server address, no DNS available, self-hosted server not started, etc.). There are additional cases when client can't connect at all (e.g.