Difference between revisions of "enet.host:bandwidth limit"

(Created page with "Sets the bandwidth limits of the host in bytes/sec. Set to 0 for unlimited. == Function == === Synopsis === <source lang="lua"> host:bandwidth_limit(incoming, out...")
 
m (Returns: stylistic edit.)
 
Line 9: Line 9:
 
{{param|number|outgoing|Upload speed limit in bytes/sec.}}
 
{{param|number|outgoing|Upload speed limit in bytes/sec.}}
 
=== Returns ===
 
=== Returns ===
None
+
Nothing.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 02:20, 30 October 2016

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

Other Languages