我用IdTCPServer接收网络过来的数据,在测试时用了一个很长的字符串,中间没有回车,在接收时提示错误
“Max Line length exceeded”,在加了回车后没有出错。请问该问题如何处理???接收端
过程IdTCPServerExecute(AThread: TIdPeerThread);
data:TStrings;
AThread.Connection.ReadStrings(data); //接收数据
“Max Line length exceeded”,在加了回车后没有出错。请问该问题如何处理???接收端
过程IdTCPServerExecute(AThread: TIdPeerThread);
data:TStrings;
AThread.Connection.ReadStrings(data); //接收数据
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货