Field heartbeatTimeoutMS
Time after which if nothing from a peer is received, a heartbeat message will be sent to keep the connection alive. Prevents the disconnectTimeoutMS mechanism from kicking when nothing happens on a connection. A value of 0 will disable heartbeats.
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public int heartbeatTimeoutMS
Returns
Type | Description |
---|---|
int | Timeout in milliseconds. |