W
wealsh
Unregistered / Unconfirmed
GUEST, unregistred user!
type
Sendtest = packed record
command:string[5];
Text:string[255] ;//不加上255服务端读不到??加上以后又不能完全发送?
end;
Sendtest.command:='text';
Sendtest.Text:=memo1.text;
Idtcpclient1.WriteBuffer(Sendtest,SizeOf(Sendtest));
Sendtest = packed record
command:string[5];
Text:string[255] ;//不加上255服务端读不到??加上以后又不能完全发送?
end;
Sendtest.command:='text';
Sendtest.Text:=memo1.text;
Idtcpclient1.WriteBuffer(Sendtest,SizeOf(Sendtest));