Difference between revisions of "ServerObject:receive"

(Created page with 'Connect to a server. == Function == === Synopsis === <source lang="lua"> clientobject:init( sockettype ) </source> === Arguments === {{param|SocketType|string|"tcp", "udp" or use…')
 
m
Line 1: Line 1:
Connect to a server.
+
Receive data from clients.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
clientobject:init( sockettype )
+
data = server:receive()
 
</source>
 
</source>
=== Arguments ===
 
{{param|SocketType|string|"tcp", "udp" or user-defined.}}
 
 
=== Returns ===
 
=== Returns ===
Nothing.
+
Data from clients
 
== See Also ==
 
== See Also ==
 
* [[parent::ServerObject]]
 
* [[parent::ServerObject]]
Line 14: Line 12:
 
{{#set:Description=Connect to a server.}}
 
{{#set:Description=Connect to a server.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ServerObject:init}}
+
{{i18n|ServerObject:receive}}

Revision as of 00:56, 20 November 2010

Receive data from clients.

Function

Synopsis

data = server:receive()

Returns

Data from clients

See Also

Other Languages