摘要: char buf[512]=0 ;string msg ="test body";head_t head = {1234,msg.longth,'1'};memcpy(buf,&head,sizeof(head)); //head struct {int key;int len;char zip;... 阅读全文
posted @ 2014-06-17 13:38 anjsxz 阅读(95) 评论(0) 推荐(0) 编辑