Back to product page

MediatorRetryCount property


Determines number of retries in Search method.

Type

Integer.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.SetMediatorRetryCount(IntPtr Handle, int Value);
The MediatorRetryCount(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueTotal number of retries to reach the mediator.

int devP2P.GetMediatorRetryCount(IntPtr Handle);
The MediatorRetryCount(Handle) syntax has these parts:
HandleReference to the devP2P instance.
Return valueCurrent value of MediatorRetryCount property.

int MediatorRetryCount = value;
The MediatorRetryCount(value) syntax has these parts:
valueTotal number of retries to reach the mediator.

Sub P2P_SetMediatorRetryCount(ByVal Handle As IntPtr, ByVal Value As Integer)
The MediatorRetryCount(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueTotal number of retries to reach the mediator.

Function P2P_GetMediatorRetryCount(ByVal Handle As IntPtr) As Integer
The MediatorRetryCount(Handle) syntax has these parts:
HandleReference to the devP2P instance.
Return valueCurrent value of MediatorRetryCount property.

Remarks

After Search is called, devP2P sends packets to mediator searching for remote peer. This property defines how many packets will be sent to mediator before SearchDone is returned with an error.