Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
仅使用了 IdTCPClient。(服务器是网络聊天。那不是我的服务器)
EX) Winsock.GetData -> IdTCPClient.??
使用socket属性,它有很多接收数据的功能,从“读取”开始。
像这样:
DataAsString := IDTCPClient1.IOHandler.ReadLn;