如何使用 Delphi 和 Indy 连接到 VNC 服务器?

问题描述 投票:0回答:0

我一直在尝试在 Delphi 和 Indy 10 中使用以下代码初始化与 VNC Server 7.0.1 的连接:

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

Connect()
,我得到一个错误:

EIdSocketError 消息为“Socket Error # 10061 Coonection refused.”。

我正在尝试在 Delphi 中创建一个 VNC 查看器应用程序。

delphi indy10 rad-studio vnc-viewer
© www.soinside.com 2019 - 2024. All rights reserved.