Sets timeouts for a response from the remote computer acknowledging its receipt of a reliable packet. When the timeouts are exceeded, a disconnect event occurs.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | retryLimit is negative or greater than 20, retryMinimumTime is negative, and/or maximumTime is negative. |
InvalidOperationException | The peer is not initialized. |
NotSupportedException | This method requires ENet 1.3.4 or newer. |