NetworkedMultiplayerENet.setPeerTimeout

Sets the timeout parameters for a peer. The timeout parameters control how and when a peer will timeout from a failure to acknowledge reliable traffic. Timeout values are expressed in milliseconds. The timeout_limit is a factor that, multiplied by a value based on the average round trip time, will determine the timeout limit for a reliable packet. When that limit is reached, the timeout will be doubled, and the peer will be disconnected if that limit has reached timeout_min. The timeout_max parameter, on the other hand, defines a fixed timeout for which any packet must be acknowledged or the peer will be dropped.

struct NetworkedMultiplayerENet
@nogc nothrow
void
setPeerTimeout
(
in long id
,,
in long timeout_min
,
in long timeout_max
)

Meta