Method SetMinimumResendTime
SetMinimumResendTime(int, NetworkDriver, NetworkPipeline, NetworkConnection)
Modify the minimum resend time used by the reliable pipeline stage for the given pipeline and connection. The default value should be good for most use cases, unless the connection is extremely good (less than 25ms RTT), in which case lowering this value could potentially reduce latency when packet loss occurs.
Declaration
public static void SetMinimumResendTime(int value, NetworkDriver driver, NetworkPipeline pipeline, NetworkConnection connection)
Parameters
Type | Name | Description |
---|---|---|
int | value | New minimum resend time. |
NetworkDriver | driver | Driver to modify. |
NetworkPipeline | pipeline | Pipeline to modify. |
NetworkConnection | connection | Connection to modify the value for. |