VncSharp

RfbProtocol.Connect Method 

Attempt to connect to a remote VNC Host.

[Visual Basic]
Public Sub Connect( _
   ByVal host As String, _
   ByVal port As Integer _
)
[C#]
public void Connect(
   string host,
   int port
);

Parameters

host
The IP Address or Host Name of the VNC Host.
port
The Port number on which to connect. Usually this will be 5900, except in the case that the VNC Host is running on a different Display, in which case the Display number should be added to 5900 to determine the correct port.

See Also

RfbProtocol Class | VncSharp Namespace