Difference between revisions of "enet.host:peer count"

(Created page with "Returns the number of peers that are allocated for the given host. This represents the maximum number of possible connections. == Function == === ...")
 
m (Arguments: stylistic edit.)
 
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None
+
None.
 +
 
 
=== Returns ===
 
=== Returns ===
 
{{param|number|limit|The maximum number of peers allowed.}}
 
{{param|number|limit|The maximum number of peers allowed.}}

Latest revision as of 02:24, 30 October 2016

Returns the number of peers that are allocated for the given host. This represents the maximum number of possible connections.

Function

Synopsis

host:peer_count()

Arguments

None.

Returns

number limit
The maximum number of peers allowed.

See Also

Other Languages