htons


   

   htons的功能
htons函数用来转换u_short了来自主机的TCP / IP网络字节顺序(即big-endian )的.
u_short htons ( u_short hostshort ) ;
参数hostshort [ ] 16位元数的主机字节顺序. 返
回值的htons函数返回值的TCP / IP网络字节顺序.
须知htons函数有一个16位号码主机字节顺序并返回一个16位数字网络字节 命令中使用的TCP / IP网络.
   

自定义分类:
病毒
 
贡献者:
ilhr007
Copyright © 1999-2024 C114 All Rights Reserved | 联系我们 | 沪ICP备12002291号-4