enet.host:bandwidth limit

Sets the bandwidth limits of the host in bytes/sec. Set to 0 for unlimited.

Function

Synopsis

host:bandwidth_limit(incoming, outgoing)

Arguments

number incoming
Download speed limit in bytes/sec.
number outgoing
Upload speed limit in bytes/sec.

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:bandwidth_limit