Sets the maximum number of channels allowed. If it is 0 then the system maximum allowable value is used.
== Function ==
=== Synopsis ===
<source lang="lua">
host:channel_limit(limit)
</source>
=== Arguments ===
{{param|number|limit|The maximum number of channels allowed.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::lua-enet]]
* [[enet.host]]
== Other Languages ==
{{i18n|enet.host:channel_limit}}