Field DisconnectTimeoutMS
Default 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).
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public const int DisconnectTimeoutMS = 30000
Returns
Type | Description |
---|---|
int | Timeout in milliseconds. |