How can I connect to VNC server using Delphi and Indy?

174 Views Asked by At

I have been trying the initialize a connection to VNC Server 7.0.1 using the following code in Delphi and Indy 10:

IdTCPClient.Host := myIP;
IdTCPClient.Port := 5900;
IdTCPClient.Connect;

On Connect(), I get an error:

EIdSocketError with message 'Socket Error # 10061 Coonection refused.'.

I am trying to a create a VNC Viewer application in Delphi.

0

There are 0 best solutions below