Struct ReliableUtility
Utility types, methods, and constants for the Reliable
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public struct ReliableUtility
Fields
Name | Description |
---|---|
Default |
Maximum amount of time to wait before a reliable packet is resent if it's not been
acknowledged. That is, even with a high RTT the reliable pipeline will never wait
longer than this value to resend a packet. Can be modified at runtime with
Set |
Default |
Minimum amount of time to wait before a reliable packet is resent if it's not been
acknowledged. Can be modified at runtime with Set |
Maximum |
Obsolete. Renamed to |
Methods
Name | Description |
---|---|
Set |
Modify the maximum 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 rather poor (more than 200ms RTT), in which case this value should be increased to be slightly above the RTT (otherwise the pipeline will useless resend packets, increasing bandwidth usage). |
Set |
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. |