The dnet_ntoa function converts a DECnet node address from binary to ASCIZ format. It converts the pointer to a dn_naddr to a string in the form 9.123, for example.
#include <ws2dnet.h>
char FAR *WSAAPI dnet_ntoa(const struct dn_naddr FAR *add);
add | Specifies the address of a dn_naddr structure that contains the node number to convert. |
The function returns a pointer to a static string that contains the node address. This string must be copied before dnet_ntoa is called again.