Difference between revisions of "enet.host:destroy"
m (Zorg moved page enet.host: gc to enet.host:destroy: slime said so :P Also, people should use an exposed method, instead of tricks to free ports.) |
m (stylistic edit.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Destroys the [[enet.host | host]] structure and closes all of its connections. | Destroys the [[enet.host | host]] structure and closes all of its connections. | ||
− | + | This function is also ran automatically by lua's garbage collector, since it's an alias to ''host:__gc''. | |
− | This function is ran automatically by lua's garbage collector, | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | host: | + | host:destroy() |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | None | + | None. |
=== Returns === | === Returns === | ||
− | + | Nothing. | |
== See Also == | == See Also == | ||
Line 16: | Line 15: | ||
* [[enet.host]] | * [[enet.host]] | ||
== Other Languages == | == Other Languages == | ||
− | {{i18n|enet.host: | + | {{i18n|enet.host:destroy}} |
Latest revision as of 02:22, 30 October 2016
Destroys the host structure and closes all of its connections. This function is also ran automatically by lua's garbage collector, since it's an alias to host:__gc.
Function
Synopsis
host:destroy()
Arguments
None.
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