Y
yccai
Unregistered / Unconfirmed
GUEST, unregistred user!
type
cmd= record
a: integer;
b: array[0..7999] of char
end;
TMycmd= array of cmd;
var
mycmd:TMycmd;
/////////////////////////
Setlength(mycmd,2);
mycmd[0].a:=0;
Strcopy(mycmd[1].b,Pchar('00000000'));
mycmd[1].a:=1;
Strcopy(mycmd[1].b,Pchar('11111111'));
socket线程模式为阻塞模式.
用socket的TwinSocketStream怎么发.怎么收.
用Tserversocket和TClientSocket(indy的也行).
cmd= record
a: integer;
b: array[0..7999] of char
end;
TMycmd= array of cmd;
var
mycmd:TMycmd;
/////////////////////////
Setlength(mycmd,2);
mycmd[0].a:=0;
Strcopy(mycmd[1].b,Pchar('00000000'));
mycmd[1].a:=1;
Strcopy(mycmd[1].b,Pchar('11111111'));
socket线程模式为阻塞模式.
用socket的TwinSocketStream怎么发.怎么收.
用Tserversocket和TClientSocket(indy的也行).