Platform SDK: Windows Sockets

getnodebyname

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

#include <ws2dnet.h>

struct nodeent_f  FAR *WSAAPI getnodebyname(
  const char FAR *
);
Parameter Description
name Pointer to an ASCIIZ 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.