Linux文件的作用

1、in.h: 

---An implementation of the TCP/IP protocol suite for the LINUX

operating system. INET is implemented using the BSD Socket
 interface as the means of communication with the user level.

---struct sockaddr_in也在其中定义

2、unisted

macro-宏

3、inet.h

定义了一组用于网络地址的字符串形式和二进制形式之间的转换的函数,函数的形式为inet_xxx()

4、usr/include

linux库所在的文件夹,能用#inlcude<>包含的,基本都在这里

5、netinet/in.h

--定义了表示底层数据包(tcp/ip)以下,如icmp socket的常量,如IIPPROTO_ICMP。

posted @ 2019-08-14 10:30  boboyou  阅读(225)  评论(0编辑  收藏  举报