Difference between revisions of "enet.peer:throttle configure"
m |
(stylistic edit.) |
||
Line 10: | Line 10: | ||
{{param|number|deceleration|Rate at which to decrease throttle probability as mean [[enet.peer:round_trip_time | RTT]] increases.}} | {{param|number|deceleration|Rate at which to decrease throttle probability as mean [[enet.peer:round_trip_time | RTT]] increases.}} | ||
=== Returns === | === Returns === | ||
− | + | Nothing. | |
== See Also == | == See Also == |
Latest revision as of 02:13, 30 October 2016
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
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info