Difference between revisions of "ServerObject:send"
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. | + | "errors" - a count of the number of errors encountered. Anything greater than 0 suggests sending failure. |
== See Also == | == See Also == | ||
* [[parent::ServerObject]] | * [[parent::ServerObject]] |
Revision as of 02:41, 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
"errors" - a count of the number of errors encountered. Anything greater than 0 suggests sending failure.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info