Struct ReliableUtility.Parameters
Parameters for the ReliableSequencedPipelineStage.
Implements
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public struct ReliableUtility.Parameters : INetworkParameter
Fields
Name | Description |
---|---|
MaximumResendTime | Maximum amount of time to wait before a reliable packet is resent if it's not been acknowledged. Default value is 200ms, which should be set higher if all connections are expected to have a higher latency than that. |
MinimumResendTime | Minimum amount of time to wait before a reliable packet is resent if it's not been acknowledged. Default value is 64ms, which should be set lower if all connections are expected to be very good (RTT of 25ms or less). |
WindowSize | Maximum number in-flight packets per pipeline/connection combination. Default value is 32 but can be increased to 64 at the cost of slightly larger packet headers. |
Methods
Name | Description |
---|---|
Validate() | Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings. |