enet.host:destroy

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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/enet.host:destroy