Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    Flags that change how this function converts the socket address.

  •    

...

  • NI_NAMEREQD
  •    

...

  • NI_DGRAM

...

  •     NI_NOFQDN
  •    

...

  • NI_NUMERICHOST
  •    

...

  • NI_NUMERICSERV

Returned Value

0, if no error.The following EAI 

Most non-zero error codes returned map to the set of errors outlined by Internet Engineering Task Force (IETF) recommendations:

  •     EAI_AGAIN
  •     EAI_BADFLAGS
  •     EAI_FAIL
  •     EAI_FAMILY
  •     EAI_MEMORY
  •     EAI_NONAME
  •     EAI_OVERFLOW
  •     EAI_SERVICE