Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

inet(7f) [hpux man page]

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 Also
       tcp(4p), udp(4p), ip(4p)

																	  inet(4f)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

Unix Internet Connection

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)
Discussion started by: kdelph
14 Replies

2. UNIX for Dummies Questions & Answers

i have tried but i can't get my internet connection to work???

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)
Discussion started by: justchillin
6 Replies

3. UNIX for Dummies Questions & Answers

Internet sharing

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)
Discussion started by: praveenk
5 Replies

4. IP Networking

TCP/UDP Ports

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)
Discussion started by: eugene_mayo
5 Replies

5. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

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)
Discussion started by: johnalt
8 Replies

6. UNIX for Dummies Questions & Answers

RedHat Internet Connectivity

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)
Discussion started by: eysheikah
7 Replies

7. UNIX for Dummies Questions & Answers

solaris internet connection

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)
Discussion started by: qqq
7 Replies

8. UNIX for Advanced & Expert Users

dial-up internet

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)
Discussion started by: jagdish.machhi@
6 Replies

9. Solaris

how to configure my network to use the internet

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)
Discussion started by: seyiisq
7 Replies

10. UNIX for Dummies Questions & Answers

Internet half-broken

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)
Discussion started by: CRGreathouse
7 Replies

11. Red Hat

Antivirus

I have fedora 15 lovelock. I need an antivirus for internet security. Which will be the best.. Plz suggest. (11 Replies)
Discussion started by: amisubha
11 Replies

12. IP Networking

How to connect internet in Linux OS

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)
Discussion started by: ravisingh
14 Replies

13. IP Networking

Unable to connect to internet on slackware 14.1 (hathway connection)

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)
Discussion started by: pinakbheed
7 Replies

14. Solaris

Installing TCP-MUX protocol socket help required.

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)
Discussion started by: Wpgn
5 Replies

15. Red Hat

Loadbalancing internet Linux?

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)
Discussion started by: mnnn
7 Replies