Back to product page

MediatorRetryDelay property


Number of milliseconds to wait between two retries to reach the mediator.

Type

Integer.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.SetMediatorRetryDelay(IntPtr Handle, int Value);
The MediatorRetryDelay(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueMillisecond delay between two retry attempts.

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

int MediatorRetryDelay = value;
The MediatorRetryDelay(value) syntax has these parts:
valueMillisecond delay between two retry attempts.

Sub P2P_SetMediatorRetryDelay(ByVal Handle As IntPtr, ByVal Value As Integer)
The MediatorRetryDelay(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueMillisecond delay between two retry attempts.

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

Remarks

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

Platforms

Windows
Mac OSX
Linux
BSD