Platform SDK: Windows Sockets

dnet_ntoa

The dnet_ntoa identifier converts a DECnet node address from binary to ASCIIZ 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
);
Parameter Description
add Specifies the address of a DN_NADDR structure that contains the node number to convert.

Return Values

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.