18,356
社区成员
发帖
与我相关
我的任务
分享
typedef struct _PLATFORM1 //数据结构
{
int err_num1;//故障代码
int sj1;
int hy1;
int zy1;
username[32];
char data[];//
} Platform1,*pPlatform1;
Platform1 p;
int len = ****;//data数组长度
send(socket,(char*)&p,sizeof(p)+len,0);