W3cubDocs

/LÖVE

enet.peer:throttle configure

Changes the probability at which unreliable packets should not be dropped.

Function

Synopsis

peer:throttle_configure(interval, acceleration, deceleration)

Arguments

number interval
Interval in milliseconds to measure lowest mean RTT.
number acceleration
Rate at which to increase throttle probability as mean RTT declines.
number deceleration
Rate at which to decrease throttle probability as mean RTT increases.

Returns

Nothing.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/enet.peer:throttle_configure