Platform SDK: Windows Sockets |
The dnet_addr identifier converts an ASCIZ DECnet Phase IV node address string to a binary address.
#include <ws2dnet.h> struct dn_naddr FAR * WSAAPI dnet_addr( const char FAR *cp );
Parameter | Description |
---|---|
cp | Specifies the address of a character string that contains a DECnet node address in the form a.n (area.node). For example, 9.440 is a DECnet Phase IV node number. |
dnet_addr returns a pointer to the DN_NADDR structure
If successful, it returns a pointer to a DN_NADDR structure that contains a binary DECnet address. Applications should copy this data before issuing another dnet_addr call. Otherwise, it returns a NULL pointer.