Sets the bandwidth limits of the [[enet.peer | host]] in bytes/sec. Set to 0 for unlimited.
== Function ==
=== Synopsis ===
<source lang="lua">
host:bandwidth_limit(incoming, outgoing)
</source>
=== Arguments ===
{{param|number|incoming|Download speed limit in bytes/sec.}}
{{param|number|outgoing|Upload speed limit in bytes/sec.}}
=== Returns ===
Nothing.

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