Back to product page

GetForward method


Returns reference to CP2PForward object.

Type

CP2PForward object.

Syntax

  • C#
  • C++
  • VB.NET
IntPtr devP2P.GetForward(IntPtr Handle, int index);
The GetForward(Handle,index) syntax has these parts:
HandleReference to the devP2P instance.
indexIndex of the forwarded channel you want to access.
Return valueCP2PForward object reference.

CP2PForward *GetForward(int index)
The GetForward(index) syntax has these parts:
indexIndex of the forwarded channel you want to access.
Return valueCP2PForward object reference.

Function P2P_GetForward(ByVal Handle As IntPtr, ByVal index As Integer) As IntPtr
The GetForward(Handle,index) syntax has these parts:
HandleReference to the devP2P instance.
indexIndex of the forwarded channel you want to access.
Return valueCP2PForward object reference.

Remarks

GetForward will return pointer to CP2PForward class, so you can access specific elements of the forwarded channel - such as LocalAddress, Type, etc..

Platforms

Windows
Mac OSX
Linux
BSD