摘要:
转自:http://blog.csdn.net/ubuntulover/article/details/4460211?reload1.字节序#include<netinet/in.h>定义函数 unsigned short int htons(unsigned short int hostshort);函数说明 htons()用来将参数指定的16位hostshort转换成网络字符顺序。返回值 返回对应的网络字符顺序。#include<netinet/in.h>定义函数 unsigned long int htonl(unsigned long int hostlong 阅读全文
posted @ 2013-06-01 15:23
路过你的苦
阅读(229)
评论(0)
推荐(0)