2016年3月26日

sockaddr_u详解

摘要: struct sockaddr { unsigned short sa_family; /* address family, AF_xxx */ char sa_data[14]; /* 14 bytes of protocol address */ }; sa_family是地址家族,一般都是“A 阅读全文

posted @ 2016-03-26 22:05 与非朋仔 阅读(727) 评论(0) 推荐(0) 编辑

ntp源码解读20160326

摘要: /* * NTP uses two fixed point formats. The first (l_fp) is the "long" * format and is 64 bits long with the decimal between bits 31 and 32. * This is used for time stamps in the NTP packet header... 阅读全文

posted @ 2016-03-26 21:43 与非朋仔 阅读(796) 评论(0) 推荐(0) 编辑

导航