MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Headers                                               in.h(3HEAD)



NAME
     in.h, in - Internet Protocol family

SYNOPSIS
     #include 


DESCRIPTION
     The    header  defines  the  following   types
     through typedef:

     inportt    An unsigned integral type of exactly 16 bits.


     inaddrt    An unsigned integral type of exactly  32  bits.
                  The    header defines the inaddr
                  structure that includes the following member:



     The  header defines the inaddr structure that
     includes the following member:

       inaddrt       saddr



     The  header defines the  type  safamilyt  as
     described in socket.h(3HEAD).


     The  header defines the following  macros  for
     use as values of the level argument of getsockopt() and set-
     sockopt():

     IPROTOIP           Dummy for  IP


     IPROTOICMP         Control message protocol


     IPROTOTCP          TCP


     IPROTOUDP          User     datagram     protocol      The
                            header defines the fol-
                          lowing macros for  use  as  destination
                          addresses for connect(), sendmsg(), and
                          sendto():






SunOS 5.11          Last change: 30 Aug 2002                    1






Headers                                               in.h(3HEAD)



     INADRANY           Local host address


     INADRBROADCAST     Broadcast address



     The  header defines the sockaddrin  structure
     that  is  used  to store addresses for the Internet protocol
     family.  Values of this type must be cast to struct sockaddr
     for use with the socket interfaces.

  Default
     For applications that  do  not  require  standard-conforming
     behavior  (those that use the socket interfaces described in
     section (3SOCKET) of the reference manual; see Intro(3)  and
     standards(5)),   the      header  defines  the
     sockaddrin structure that includes the following members:

       safamilyt     sinfamily
       inportt       sinport
       struct inaddr  sinaddr
       char            sinzero[8]


  Standard conforming
     For applications that require  standard-conforming  behavior
     (those  that  use the socket interfaces described in section
     (3XNET) of the reference  manual;  see  Intro(3)  and  stan-
     dards(5)), the  header defines the sockaddrin
     structure that includes the following members:

       safamilyt     sinfamily
       inportt       sinport
       struct inaddr  sinaddr
       unsigned char   sinzero[8]


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    






SunOS 5.11          Last change: 30 Aug 2002                    2






Headers                                               in.h(3HEAD)



SEE ALSO
     Intro(3),         connect(3SOCKET),          connect(3XNET),
     getsockopt(3SOCKET),   getsockopt(3XNET),  sendmsg(3SOCKET),
     sendmsg(3XNET),       sendto(3SOCKET),        sendto(3XNET),
     setsockopt(3SOCKET),   setsockopt(3XNET),   socket.h(3HEAD),
     attributes(5), standards(5)

















































SunOS 5.11          Last change: 30 Aug 2002                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™