IRDPSRAPITcpConnectionInfo::get_PeerPort method (rdpencomapi.h)

Retrieves the remote port that is being used by the sharer or by the viewer in communication. For example, the sharer can retrieve the port that the viewer is using in communication and vice versa.

This property is read-only.

Syntax

HRESULT get_PeerPort(
  long *plPort
);

Parameters

plPort

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPITcpConnectionInfo