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

None

See Also

Other Languages

Personal tools