Difference between revisions of "ServerObject:send"

(Undo revision 9974 by Helvecta (talk))
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
{{param|recipient|recipient|The client who shall receive the data, If nil then sends to all client(s).}}
 
{{param|recipient|recipient|The client who shall receive the data, If nil then sends to all client(s).}}
 
=== Returns ===
 
=== Returns ===
"errors" - a count of the number of errors encountered. Anything greater than suggests sending failure.
+
Nothing.
 
== See Also ==
 
== See Also ==
 
* [[parent::ServerObject]]
 
* [[parent::ServerObject]]

Latest revision as of 02:47, 16 March 2013

Send data to client(s).

Function

Synopsis

server:send(data, recipient)

Arguments

userdata data
The data to send to the client(s).
recipient recipient
The client who shall receive the data, If nil then sends to all client(s).

Returns

Nothing.

See Also

Other Languages