D dxing Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-27 #1 请问:TclientSocket控件如何实现十六进制发送和接收数据
Z zw84611 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-27 #2 cAkk (1999-12-24 21:53:23) 把二进制数据读到pchar里面,然后: 发送: clientsocket1.socket.SendBuf(cf1^,count); 读取: count:=socket.ReceiveLength; getmem(cf1,count); socket.ReceiveBuf(cf1^,count); 上面的cf1是pchar类型. -------------------------------- 或者用流,SendStream()
cAkk (1999-12-24 21:53:23) 把二进制数据读到pchar里面,然后: 发送: clientsocket1.socket.SendBuf(cf1^,count); 读取: count:=socket.ReceiveLength; getmem(cf1,count); socket.ReceiveBuf(cf1^,count); 上面的cf1是pchar类型. -------------------------------- 或者用流,SendStream()