【发布时间】:2017-06-22 15:08:47
【问题描述】:
我得到了以下示例(作者:Matt S)在 cmd 提升模式下运行:How do you test the Push Notification feedback service?
我可以使用“telnet localhost 2196”连接到这个 ruby 服务器,它会开始向 telnet 客户端发送数据就好了。
但是,如果我尝试将其用于 delphi,则使用 indy:
TcpClient := TIdTcpClient.Create(nil);
TcpClient.Host := 'localhost';
TcpClient.Port := 2196;
TcpClient.Connect;
我收到以下错误:Socket Error # 10061 Connection denied 一旦调用“Connect”。好像找不到 tcp 服务器。
我在这里可能做错了什么?
【问题讨论】:
标签: ruby delphi apple-push-notifications client tcpserver