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

None

See Also

Other Languages

Personal tools