Back to product page

RemotePort property


Holds remote port of connected user.

Type

Integer.

Syntax

  • C#
  • C++
  • VB.NET
int devP2P.Forward_GetRemotePort(IntPtr ForwardHandle);
The RemotePort(ForwardHandle) syntax has these parts:
ForwardHandleReference to the CP2PForward instance.

int RemotePort;

Sub P2PForward_SetRemotePort(ByVal ForwardHandle As IntPtr, ByVal value As Integer)
The RemotePort(ForwardHandle) syntax has these parts:
ForwardHandleReference to the CP2PForward instance.

Function P2PForward_GetRemotePort(ByVal ForwardHandle As IntPtr) As Integer
The RemotePort(ForwardHandle) syntax has these parts:
ForwardHandleReference to the CP2PForward instance.

Platforms

Windows
Mac OSX
Linux
BSD