This section presents the DECnet-specific extensions to the Windows Sockets 2 specification.
The Windows Sockets 2 function extension mechanism works as follows: a call is made to WSAIoctl with the control code SIO_GET_EXTENSION_FUNCTION_POINTER which returns a function pointer to a specified extension function.
The following DECnet-specific extension identifiers have been allocated by the WS2 identifier clearinghouse.
Note We reserve 32 in each block.
//
// DECnet
//
#define WS2API_DECNET_dnet_addr 1
#define WS2API_DECNET_dnet_eof 2
#define WS2API_DECNET_dnet_getacc 3
#define WS2API_DECNET_dnet_getalias 4
#define WS2API_DECNET_dnet_htoa 5
#define WS2API_DECNET_dnet_ntoa 6
#define WS2API_DECNET_getnodeadd 7
#define WS2API_DECNET_getnodebyaddr 8
#define WS2API_DECNET_getnodebyname 9
#define WS2API_DECNET_getnodename 10
//
// Next ones start at 33
//