我使用lNet进行tcp套接字连接。
在使用文档(https://lnet.wordpress.com/usage/sockets-protocols-and-sending)中我应该使用:
已发送:= FConnection.SendMessage(TempBuffer,…
作者(Almindor)建议您使用FTP等更高级别的协议。如果使用直接(原始)TCP / UDP,则直接使用它没有问题。如果可能,最好通过连接对象发送和接收(示例中为FConnection)。