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)
Check Out this Related Man Page
inet(4f)inet(4f)Name
inet - Internet protocol family
Syntax
#include <sys/types.h>
#include <netinet/in.h>
Description
The Internet protocol family is a collection of protocols that is layered on the Internet Protocol (IP) transport layer and that uses the
Internet address format. The Internet family provides protocol support for the SOCK_STREAM, SOCK_DGRAM, and SOCK_RAW socket types. The
SOCK_RAW interface provides access to the IP protocol.
Addressing
Internet addresses are 4-byte quantities, stored in network standard format. The include file defines this address as a discriminated
union.
Sockets bound to the Internet protocol family use the following addressing structure:
struct sockaddr_in {
short sin_family;
u_short sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
Sockets may be created with the address INADDR_ANY to effect ``wildcard'' matching on incoming messages.
Protocols
The Internet protocol family comprises the IP transport protocol, Internet Control Message Protocol (ICMP), Transmission Control Protocol
(TCP), and User Datagram Protocol (UDP). TCP is used to support the SOCK_STREAM abstraction, while UDP is used to support the SOCK_DGRAM
abstraction. A raw interface to IP and ICMP is available by creating an Internet socket of type SOCK_RAW.
See Alsotcp(4p), udp(4p), ip(4p)inet(4f)
I am trying to set up my internet connection for my unix system and cannot seem to do it. I have a optimum on line service, and use a cable modem, with a usb. The 3 com ethernet card in my Gateway Labtop is recognized but when I hook up the usb and try and connect the usb is unrecognized. I... (14 Replies)
for those who have read my earlier posts i have been trying for about a week and a half to get my internet connection working with no results...
my isp is ex-pressnet (in VA)...one-way cable internet service (dial-up for uploads, cable for downloads) using a com21 cable modem...this is extremly... (6 Replies)
I wanted to share internet with my Server running Win 2000 and client on Solaris 8.
I networked them with a hub and 2 NICs on Server.
Is there any software to share the internet? Need help!!!!!!!!!!
Thanks...
Praveen (5 Replies)
Just wondering if anyone knows of any good on-line documentation on TCP/UDP Ports. Basically i want to know how to check if they are in use, learn how to close them, etc...
Thanks... (5 Replies)
I running HPUX 11.0,
Netscape gives me an error "Unable to locate Server" when using a www.something.com address.
If I use an IP address I get past the router and onto the Internet.
My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server.
I have DHCP enabled... (8 Replies)
I recently installed RedHat9 on my laptop as a guest OS. My host OS is Windows2000 and I am using VMWare to toggle between two OSs.
Any time I try to connect to internet from RedHat environment using Mozilla, internet acces does not work. At the office, after connecting my laptop to our... (7 Replies)
Hi everyone, I just installed Solaris 10 in my PC. However, once I finished installing it, I lost my internet connection. When I switch to windows, the internet can run smoothly. Does anyone know how to set up internet connection in Solaris ? I am so sorry, I am new in UNIX (7 Replies)
Hi,
I want to know working of dial-up internet on the PC.
Please tell me how internet connection and ip address assigning happened.
I know all this procedure in the broadband internet. But I confused for the
'dial-up' and 'internet in mobile'.
I am eagarly wait for... (6 Replies)
i have a router from my isp provider 02. my internet works fine in windows but i am unable to use internet in solaris. when i tried ifconfig command
i was able to see the lo0 which is my laoopback adapter. pls can someone advice. (7 Replies)
I have an odd problem with my internet connection. I think it's software not hardware, but I'm not even certain of that. My best guess is that it relates to my recent installation of KVpnc.
I can't connect to most websites: no ping, nothing in the browser. But other websites I can connect to... (7 Replies)
How to enable internet on my Linux OS
My OS: Red Hat Fedora
Release 9 (Sulphur)
version: 2.6
I have to connect via my Nokia cell phone via cable.
This way only I had been using internet on my Windows OS.
If any software is required to install on my UNIX for internet, then I don't have any. If... (14 Replies)
Hi,
I have a wired internet connection of hathway provider. I would like to use the connection on my desktop as well as my laptop. My desktop pc has windows 7 and yesterday I installed slackware 14.1 (full installation) on my lenovo 3000 n100 laptop.
Previously I had slacko puppy 5.7... (7 Replies)
I been looking for a good guide or some help on how to install and setup TCP-MUX protocol socket on my Solaris 7 servers.
Can anyone point me in right direction of help me ?
Thanks (5 Replies)
Hi
When there is two or three internet lines How can you ping lost latest to try to cover loadbalance
csf or iptables can do Loadbalance?
Thanks (7 Replies)