Field reconnectionTimeoutMS
Time after which to attempt to re-establish a connection if nothing is received from the peer. This is used to re-establish connections for example when a peer's IP address changes (e.g. mobile roaming scenarios). To be effective, should be less than disconnectTimeoutMS but greater than heartbeatTimeoutMS. A value of 0 will disable this functionality.
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public int reconnectionTimeoutMS
Returns
Type | Description |
---|---|
int | Timeout in milliseconds. |