如何在Delphi中解决Indy tcp服务器断开错误 [英] How to Solve Indy tcp server disconnect error in Delphi

查看:363
本文介绍了如何在Delphi中解决Indy tcp服务器断开错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们。

我正在使用Delphi制作tcp服务器 - 客户端通信程序。我使用过indy tcp服务器和客户端组件。一切顺利,但当我停用服务器时,即设置

Hello friends.
I am making tcp server-client communication program using Delphi. I have used indy tcp server and client component. All goes good, but when I deactivate server , that is, set

idtcpserver.Active:=false;



异常提出,EIdClosedSocket Disconnected。

我试图在互联网上找到解决方案,有很多解决方案,但没有什么可以帮助我。

有没有完美的解决方案?

感谢您倾听我的声音。


an exception raised, "EIdClosedSocket Disconnected".
I have tried to find solution on Internet, there are many solutions but nothing could help me.
Is there any perfect solution?
Thanks for listening my voice.

推荐答案

这篇关于如何在Delphi中解决Indy tcp服务器断开错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆