
BandwidthReset method
Resets bandwidth calculation for specific channel.
Syntax
- C#
- C++
- VB.NET
void devP2P.BandwidthReset(IntPtr Handle, int chanid);
The BandwidthReset(Handle,chanid) syntax has these parts:
The BandwidthReset(Handle,chanid) syntax has these parts:
Handle | Reference to the devP2P instance. |
chanid | Integer that specifies channel index. |
void BandwidthReset(int chanid);
The BandwidthReset(chanid) syntax has these parts:
The BandwidthReset(chanid) syntax has these parts:
chanid | Integer that specifies channel index. |
Sub P2P_BandwidthReset(ByVal Handle As IntPtr, ByVal chanid As Integer)
The BandwidthReset(Handle,chanid) syntax has these parts:
The BandwidthReset(Handle,chanid) syntax has these parts:
Handle | Reference to the devP2P instance. |
chanid | Integer that specifies channel index. |
Remarks
Calling this function causes internal bandwidth calculation to resets to 0. You should call it before you start file transfer, if you want to get accurate bandwidth results.Platforms
WindowsMac OSX
Linux
BSD