SGI network adapter Guide de l'utilisateur Page 14

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 72
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 13
14
Networking
New networking interface functions
In IRIX 6.5.17, support for following interfaces has been added:
For nodename-to-address and address-to-nodename translations,
getaddrinfo(3), getnameinfo(3), gai_strerror(3),
freeaddrinfo(3), getipnodebyname(3),
getipnodebyaddr(3) and freehostent(3)
For interface index-to-name and name-to-index conversions,
if_indextoname(3), if_nametoindex(3), if_nameindex(3)
and if_freenameindex(3)
These interfaces perform the following functions:
The getaddrinfo() function translates the node name and/or a
service name and returns a set of socket addresses and associated
information. This is used in creating a socket with which to
address the specified service. It can provide the functionality of
gethostbyname() and getservbyname().
The getnameinfo() function translates a socket address to a
node name and a service location.
The above translations are done in a protocol-independent manner to
support both IPv4 and IPv6. (Note that IPv6 is not supported in this
IRIX release.)
The gai_strerror() function returns a text string describing an
error that is returned by getaddrinfo() or getnameinfo().
Vue de la page 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 71 72

Commentaires sur ces manuels

Pas de commentaire