比如在一个button的onclick中:
AThread.Connection.WriteLn('.....');
写一行字符串从Server端发送到Client端。
在Client端如何才能知道Server端发数据了,以便Readln?
IdTCPClient没有OnExecute事件,也没有以前TClientSocket控件的OnRead事件。
难道要使用Timer不停地去读吗?