本人用indy组件遇到重大问题,请教各位高手,代码如下procedure TForm1.TCPServerExecute(AThread: TIdPeerThread);
var str, sTemp : string;
begin
str :=AThread.Connection.CurrentReadBuffer; while str <> ''do
begin
mystr := str + mystr;
str := AThread.Connection.CurrentReadBuffer;
end; showmessage(mystr);为什么去到AThread.Connection.CurrentReadBuffer那里就没有反应了??有什么办法清空CurrentReadBuffer?
end;
var str, sTemp : string;
begin
str :=AThread.Connection.CurrentReadBuffer; while str <> ''do
begin
mystr := str + mystr;
str := AThread.Connection.CurrentReadBuffer;
end; showmessage(mystr);为什么去到AThread.Connection.CurrentReadBuffer那里就没有反应了??有什么办法清空CurrentReadBuffer?
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货