TIdTCPServer收信问题
在void __fastcall TForm1::IdTCPServer1Execute(TIdPeerThread *AThread)
中,用string buf = ReadLn();怎么没有反应?
用CurrentReadBuffer()倒是可以,不过没有timeout>
是不是收信,还和数据有无回车符有关?
小弟刚接触indy,想做TCPserver端,请赐教
希望server端可以收发信息
void __fastcall TForm1::IdTCPServer1Execute(TIdPeerThread *AThread)
{
}