enet.peer:ping interval

Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500).

Function

Synopsis

peer:ping_interval(interval)

Arguments

number interval
Time in milliseconds to wait before automatically calling peer:ping().

Returns

Nothing.

See Also

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