Difference between revisions of "enet.peer:disconnect now"

m (stylistic edit.)
 
Line 8: Line 8:
 
{{param|number|data|Optional integer value to be associated with the disconnect.}}
 
{{param|number|data|Optional integer value to be associated with the disconnect.}}
 
=== Returns ===
 
=== Returns ===
None
+
Nothing.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 02:12, 30 October 2016

Force immediate disconnection from peer. Foreign peer not guaranteed to receive disconnect notification.

Function

Synopsis

peer:disconnect_now(data)

Arguments

number data
Optional integer value to be associated with the disconnect.

Returns

Nothing.

See Also

Other Languages