Name-to-address translation APIs

These APIs allow an application to obtain the address of a service or a specified host in a transport-independent manner.

API Description
netdir_free() Frees structures that are allocated by name-to-address translation APIs
netdir_getbyaddr() Maps addresses into host names and service names
netdir_getbyname() Maps the host name and service name that are specified in the service parameter to a set of addresses that are consistent with the transport identified in the netconfig structure
netdir_options() Provides interfaces to transport-specific capabilities such as the broadcast address and reserved port facilities of TCP and UDP
netdir_sperror() Issues an informational message that states why one of the name-to-address translation APIs failed
taddr2uaddr() Translates a transport-specific (local) address to a transport-independent (universal) address
uaddr2taddr() Translates a transport-independent (universal) address to a transport-specific (local) address (netbuf structure)
Related information
API finder