Back to product page

LinkingRetryCount property


Determines how many times retry is performed during linking stage.

Type

Integer.

Syntax

  • C#
  • C++
  • VB.NET
void devP2P.SetLinkingRetryCount(IntPtr Handle, int Value);
The LinkingRetryCount(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueTotal number of retries to exchange initial linking packet with remote peer.

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

int LinkingRetryCount = value;
The LinkingRetryCount(value) syntax has these parts:
valueTotal number of retries to exchange initial linking packet with remote peer.

Sub P2P_SetLinkingRetryCount(ByVal Handle As IntPtr, ByVal Value As Integer)
The LinkingRetryCount(Handle,value) syntax has these parts:
HandleReference to the devP2P instance.
valueTotal number of retries to exchange initial linking packet with remote peer.

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

Remarks

When Link is called, devP2P sends packet to remote peer trying to establish the connection. This property defines how many packets will be sent before LinkDone event fires with an error.

Platforms

Windows
Mac OSX
Linux
BSD