ENet Class Library for C# |
|
Host.SetBandwidthLimit Method
Set the bandwidth limit.
[Visual Basic]
Public Sub SetBandwidthLimit( _
ByVal
incomingBandwidth As
Integer, _
ByVal
outgoingBandwidth As
Integer _
)
[C#]
public
void SetBandwidthLimit(
int incomingBandwidth,
int outgoingBandwidth);
Parameters
-
incomingBandwidth
- The maximum incoming rate of transfer, or 0 for no limit.
-
outgoingBandwidth
- The maximum outgoing rate of transfer, or 0 for no limit.
Exceptions
See Also
Host Class | ENet Namespace