Platform SDK: Windows Sockets

dnet_htoa

The dnet_htoa identifier 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
);
Parameter Description
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.