Platform SDK: Windows Sockets

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 
);
Parameter Description
name Pointer to a SOCKADDR_DN structure that contains the DECnet address to be bound to this socket.