Versions Compared

Key

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

Converts a socket address to a string describing the host and another string describing the service.

 

Files

net_bsd.h/net_bsd.c

Prototype

Arguments

p_sockaddr

    Pointer to the sockaddr structure with the protocol address to be converted.

...

        NI_NAMEREQD
        NI_DGRAM
        NI_NOFQDN
        NI_NUMERICHOST
        NI_NUMERICSERV

Returned Value

0, if no error.

The following EAI 

...