这是发送端发送的UDP结构体包(c++的),
typedef unsigned char byte;
typedef struct STimeVal
{
    int tv_sec;
    int tv_usec;
}TimeVal;
typedef struct  data_format 
{
 byte    type_id;     
 short    code;     
 int    height;     
 byte    sys_id;   
 int    obj_type;  
 TimeVal    time_stamp;
 char    info[256];                   
 byte    other_flag;    
 static struct   data_format* ntoh(char* buffer);
 char* hton();
}
假如在delphi中定义一个相应的结构体,如DBDATA,
type
DBDATA = record
 type_id :string[2];
 code:integer;
 height:integer;
 sys_id:string[5];
 obj_type:integer;
 time_stamp:tdatetime;
 info:string[256];
 other_flag:string[8];
  后面两项如何写呢?
end;
在delphi中怎样接收呢?这个DBDATA有些字段怎样给类型呢?