dnet_htoa

The dnet_htoa function searches the local node database. If it finds the node name for the specified node address, it returns a pointer to an ASCIZ DECnet name string. Otherwise, it returns an ASCIZ node address string.

#include <ws2dnet.h>

char FAR *WSAAPI dnet_htoa(const struct dn_naddr FAR *add);
 
add Specifies the address of a dn_naddr structure that contains the node number for which to search.

Return Values

The function returns the address of a static buffer that contains the node string. This string must be copied before dnet_htoa is called again.