Unix and Linux Discussions Tagged with he i |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
2,189 |
What is on Your Mind? |
|
|
|
8 |
2,428 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,088 |
IT Security RSS |
|
|
|
1 |
2,415 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,957 |
OS X Support RSS |
|
|
|
0 |
3,446 |
OS X Support RSS |
|
|
|
0 |
3,152 |
OS X Support RSS |
|
|
|
0 |
1,540 |
Complex Event Processing RSS News |
|
|
|
0 |
2,398 |
OS X Support RSS |
|
|
|
0 |
1,498 |
Complex Event Processing RSS News |
|
|
|
0 |
1,781 |
IT Security RSS |
|
|
|
0 |
3,444 |
UNIX and Linux RSS News |
|
|
|
8 |
4,952 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
6,268 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
4,886 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,089 |
Programming |
|
|
|
1 |
4,613 |
Programming |
|
|
|
1 |
4,563 |
Shell Programming and Scripting |
|
|
|
2 |
5,150 |
Shell Programming and Scripting |
|
|
|
2 |
3,115 |
UNIX for Advanced & Expert Users |
|
|
|
9 |
8,124 |
Programming |
|
|
|
1 |
4,992 |
Shell Programming and Scripting |
|
|
|
3 |
3,652 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,239 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,977 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,669 |
UNIX for Dummies Questions & Answers |
|
|
|
13 |
8,213 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,814 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,005 |
IP Networking |
|
|
|
7 |
5,077 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,693 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,392 |
Programming |
|
|
|
1 |
4,282 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,810 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,011 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,857 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,032 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,043 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
125,508 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,692 |
UNIX for Dummies Questions & Answers |
inet(7F) inet(7F)
NAME
inet - Internet protocol family
SYNOPSIS
DESCRIPTION
The internet protocol family is a collection of protocols layered on top of the (IP) network layer, which utilizes the internet address
format. The internet family supports the SOCK_STREAM and SOCK_DGRAM socket types.
Addressing
Internet addresses are four byte entities. The include file defines this address as the structure
Sockets bound to the internet protocol family utilize an addressing structure called Pointers to this structure can be used in system calls
wherever they ask for a pointer to a
There are three fields of interest within this structure. The first is which must be set to AF_INET. The next is which specifies the port
number to be used on the desired host. The third is which is of type and specifies the address of the desired host.
Protocols
The internet protocol family is comprised of the IP network protocol, Internet Control Message Protocol (ICMP), Transmission Control Proto-
col (TCP), and User Datagram Protocol (UDP). TCP is used to support the socket type while UDP is used to support the socket type. The
ICMP message protocol and IP network protocol are not directly accessible.
The local port address is selected from independent domains for TCP and UDP sockets. This means that creating a TCP socket and binding it
to local port number 10000, for example, does not interfere with creating a UDP socket and also binding it to local port number 10000 at
the same time.
Port numbers in the range 1-1023 inclusive are reserved for use by the super-user only. Attempts to bind to port numbers in this range by
non-super-users fail and result in an error returned.
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO
tcp(7P), udp(7P).
inet(7F)