Difference between revisions of "enet.peer:ping interval"

(Created page with "Specifies the interval in milliseconds that pings are sent to the other end of the connection (defaults to 500). == Function == === Synopsis === <source lang="lua"> peer:ping_int...")
 
m (stylistic edit.)
 
Line 8: Line 8:
 
{{param|number|interval|Time in milliseconds to wait before automatically calling [[enet.peer:ping | peer:ping()]].}}
 
{{param|number|interval|Time in milliseconds to wait before automatically calling [[enet.peer:ping | peer:ping()]].}}
 
=== Returns ===
 
=== Returns ===
None
+
Nothing.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 02:13, 30 October 2016

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

Other Languages