Structure Information for Bind/WSPBind

In order to bind a local DECnet address to a socket, the parameter name should point to a sockaddr_dn structure.

#include <ws2dnet.h>

int WSAAPI bind (SOCKET s, const struct sockaddr_dn FAR * name, int namelen);

int WSAAPI WSPBind ( SOCKET s, const struct sockaddr_dn FAR * name, int namelen, int FAR * lpErrno );
 
name A pointer to a sockaddr_dn structure which contains the DECnet address to be bound to this socket.