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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Connect to a server.
+
Receive data from client(s).
 
== 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]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Connect to a server.}}
+
{{#set:Description=Receive data from client(s).}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ServerObject:init}}
+
{{i18n|ServerObject:receive}}

Latest revision as of 01:19, 20 November 2010

Receive data from client(s).

Function

Synopsis

data = server:receive()

Returns

Data from clients

See Also

Other Languages