Difference between revisions of "ServerObject:Init"

m
 
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.

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