F
forall
Unregistered / Unconfirmed
GUEST, unregistred user!
DELPHI2009下:
var
SendBuf:TIdBytes;
SendString:string;
SendString:=chr($91)+chr($3E)+chr($00)+chr($48)......;
SendBuf:=RawToBytes(SendString,Sizeof(SendString));
IdTCPClient1.Socket.Write(SendBuf,sizeof(SendBuf));
//发送的时候自动把$00后面的内容给取消掉了,什么缘故呀?
var
SendBuf:TIdBytes;
SendString:string;
SendString:=chr($91)+chr($3E)+chr($00)+chr($48)......;
SendBuf:=RawToBytes(SendString,Sizeof(SendString));
IdTCPClient1.Socket.Write(SendBuf,sizeof(SendBuf));
//发送的时候自动把$00后面的内容给取消掉了,什么缘故呀?