SmartCode ViewerX

ISmartCodeVNCViewer::ListenPort Property


Gets or sets the port to use when ViewerX is listening for incoming VNC server connections.

Syntax

HRESULT ISmartCodeVNCViewer::get_ListenPort(long* pnPort);
HRESULT ISmartCodeVNCViewer::put_ListenPort(long nPort);

Parameters

pnPort
Pointer to a variable of type long that receives the port ViewerX is listens for incoming connections.
nPort
long that specifies the port to listen for incoming connections.

Return Value

Returns S_OK if successful, or an error value otherwise.