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

Other Languages