⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inet.4f

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 4F
字号:
.\" SCCSID: @(#)inet.4f	8.1	9/11/90.TH inet 4f .SH Nameinet \- Internet protocol family.SH Syntax.B #include <sys/types.h>.br.B #include <netinet/in.h>.SH Description.NXR "inet keyword".NXR "Internet protocol family".NXA "Internet protocol family" "IP transport protocol".NXA "Internet protocol family" "ICMP error and control message protocol".NXS "Transmission Control Protocol" "tcp protocol".NXA "UDP" "Internet protocol family".NXS "User Datagram Protocol" "UDP"The Internet protocol family is a collection of protocolsthat is layered on the Internet Protocol(IP) transport layer and that uses the Internet address format.The Internet family provides protocol support for theSOCK_STREAM, SOCK_DGRAM, and SOCK_RAW socket types.  TheSOCK_RAW interface provides access to the IP protocol..SH Addressing.NXR "Internet address"Internet addresses are 4-byte quantities, stored innetwork standard format.The include file.PN <\&netinet/in.h\&>defines this addressas a discriminated union..PPSockets bound to the Internet protocol family usethe following addressing structure:.NXR "Internet protocol family" "socket addressing structure".EXstruct sockaddr_in {	short	sin_family;	u_short	sin_port;	struct	in_addr sin_addr;	char	sin_zero[8];};.EESockets may be created with the address INADDR_ANYto effect ``wildcard'' matching on incoming messages. .SH Protocols.NXR "Internet protocol family" "contents"The Internet protocol family comprisesthe IP transport protocol, Internet ControlMessage Protocol (ICMP), Transmission ControlProtocol (TCP), and User Datagram Protocol (UDP).TCP is used to support the SOCK_STREAMabstraction, while UDP is used to support the SOCK_DGRAMabstraction.  A raw interface to IP and ICMP is availableby creating an Internet socket of type SOCK_RAW..\"The ICMP message protocol is directly accessible..SH See Alsotcp(4p), udp(4p), ip(4p).\"SOCK_RAW is not supported by Digital Equipment Corporation

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -