Field disconnectTimeoutMS
Inactivity timeout for a connection. If nothing is received on a connection for this amount of time, it is disconnected (a Disconnect event will be generated). To prevent this from happenning when the game session is simply quiet, set heartbeatTimeoutMS to a positive non-zero value.
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public int disconnectTimeoutMS
Returns
Type | Description |
---|---|
int | Timeout in milliseconds. |