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.