QT通过Tcp发送接收自定义结构体
随便写的写构体,对齐问题没考虑#ifndef _DATA_COMM_H_#define _DATA_COMM_H_#include <stdio.h>typedef int INT32;typedef short SHORT;typedef long LONG;typedef float FLOAT;typedef double DOUBLE;typedef char CHAR;typedef unsigned char UCHAR