getnodebyname

The getnodebyname function searches for a DECnet node address that matches the specified DECnet node name. DECnet Phase IV node names consist of 1 to 6 alphanumeric characters with at least one alphabetic character.

#include <ws2dnet.h>

struct nodeent_f  FAR *WSAAPI getnodebyname(const char FAR *);
 
name Pointer to an ASCIZ node name for which to search.

Return Values

The function returns a pointer to a static nodeent_f structure. The application must copy this data before issuing another getnodebyaddr call. If the end of file is reached, a NULL pointer is returned.