F
fanronghua
Unregistered / Unconfirmed
GUEST, unregistred user!
TArrayByte = array of Byte;
var
SendData: array[0..2 * DATABUFF - 1] of byte;
TempArrayData: TArrayByte;
begin
move(TempArrayData^, pchar(@SendData)^, length(TempArrayData));//这里不对
ClientS.Socket.SendBuf(SendData, length(TempArrayData));
var
SendData: array[0..2 * DATABUFF - 1] of byte;
TempArrayData: TArrayByte;
begin
move(TempArrayData^, pchar(@SendData)^, length(TempArrayData));//这里不对
ClientS.Socket.SendBuf(SendData, length(TempArrayData));