function TMainForm.Getbody(H2head:String):TagCOMM_HEAD;
var
tmp:TagCOMM_HEAD;
//tt:string;
begin
copymemory(@tmp,pchar(H2head),86);
procedure TMainform.ServerSocket1ClientRead(Sender: TObject;
Socket: TCustomWinSocket);
var
len:word;
//bodylen:word;
bodystring:string;
Ffwlx,Fydhm,Fywlx,Fyyd,Fyyy:String;
//buf:array[1..256] of char;
//buf1:array[1..86] of char;
ss,ss1:String;
Fhead,Fhead1:TagCOMM_HEAD;
Vbz,Vccm,Vzhybbz:string;
begin
try
ss:=Socket.ReceiveText;
//FillChar(buf1,sizeof(buf1),' ');
//Socket.ReceiveBuf(buf1,86);
//ss:=strpas(@buf1);