Difference between revisions of "ServerObject:Init"
Line 1: | Line 1: | ||
− | + | Initializes the server. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | server:init(port, sockettype) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
+ | {{param|Port|number|any.}} | ||
{{param|SocketType|string|"tcp", "udp" or user-defined.}} | {{param|SocketType|string|"tcp", "udp" or user-defined.}} | ||
=== Returns === | === Returns === | ||
Line 12: | Line 13: | ||
* [[parent::ServerObject]] | * [[parent::ServerObject]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Initializes the server.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|ServerObject:init}} | {{i18n|ServerObject:init}} |
Revision as of 00:51, 20 November 2010
Initializes the server.
Function
Synopsis
server:init(port, sockettype)
Arguments
Port number
- any.
SocketType string
- "tcp", "udp" or user-defined.
Returns
Nothing.
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