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.) |
(Fixed the page up a bit, also i18n points to correct page now.) |
||
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 === | ||
Line 16: | Line 15: | ||
* [[enet.host]] | * [[enet.host]] | ||
== Other Languages == | == Other Languages == | ||
− | {{i18n|enet.host: | + | {{i18n|enet.host:destroy}} |
Revision as of 01:59, 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
None
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