Platform SDK: Windows Sockets

getnodeadd

The getnodeadd identifier returns the local node's DECnet address.

#include <ws2dnet.h>

struct dn_naddr FAR *WSAAPI getnodeadd(void);

Return Values

The function returns the address of a static DN_NADDR structure containing the local node's DECnet address. Applications should copy this data before issuing another getnodeadd call. If DECnet is not installed, it returns a NULL pointer