Back to product page

LinkingRetryDelay property


Determines delay time between linking attempts, in milliseconds.

Syntax

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

int devP2P.GetLinkingRetryDelay(IntPtr Handle);
The LinkingRetryDelay(Handle) syntax has these parts:
HandleReference to the devP2P instance.
Return valueCurrent vlalue of LinkingRetryDelay property.

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

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

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

Remarks

When Link is called, devP2P sends packet to remote peer trying to establish the connection. This property defines how much will devP2P wait between each two retries in sending packets, in milliseconds.

Platforms

Windows
Mac OSX
Linux
BSD