Difference between revisions of "ServerObject:Init"

 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|Port|number|any.}}
+
{{param|number|port|any.}}
{{param|SocketType|string|"tcp", "udp" or user-defined.}}
+
{{param|string|sockettype|"tcp", "udp" or user-defined.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
Line 15: Line 15:
 
{{#set:Description=Initializes the server.}}
 
{{#set:Description=Initializes the server.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ServerObject:init}}
+
{{i18n|ServerObject:Init}}

Latest revision as of 01:50, 20 November 2010

Initializes the server.

Function

Synopsis

server:init(port, sockettype)

Arguments

number port
any.
string sockettype
"tcp", "udp" or user-defined.

Returns

Nothing.

See Also

Other Languages