2015年10月7日

htons()和htonl()函数

摘要: htons()#include uint16_t htons(uint16_t hostshort); htons的功能: 将一个无符号短整型数值转换为网络字节序,即大端模式(big-endian) 参数u_short hostshort: 16位无符号整数 返回值: TCP / IP网络字节顺... 阅读全文

posted @ 2015-10-07 14:57 rexienk 阅读(13104) 评论(0) 推荐(1)

导航