linux 包对齐

struct sendNak

{

}__attribute__((packed));

 

//位处理 获取包的时候 必须对齐 否则得到的数据不正确

posted on 2017-12-27 14:41  lydstory  阅读(102)  评论(0编辑  收藏  举报

导航