N nw75320 Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-25 #1 请问indy10中idtcpclient如何接收服务器数据啊?是在timer中写吗?最好有详细例子。谢谢!
Q qnaqbgss Unregistered / Unconfirmed GUEST, unregistred user! 2008-04-16 #2 可以采用如:下形式: var isread:boolean;bb:string; begin isread:=true; while (isread )and(idtcpclient1.Connected ) do begin bb:=idtcpclient1.IOHandler.ReadLn; application.ProcessMessages ; if bb<>'' then memo2.lines.Add(bb); end;
可以采用如:下形式: var isread:boolean;bb:string; begin isread:=true; while (isread )and(idtcpclient1.Connected ) do begin bb:=idtcpclient1.IOHandler.ReadLn; application.ProcessMessages ; if bb<>'' then memo2.lines.Add(bb); end;