Platform SDK: Windows Sockets |
// DECnet uses object names & numbers instead of ports struct sockaddr_dn { unsigned short sdn_family; // AF_DECnet unsigned char sdn_flags; // Reserved - set to zero unsigned char sdn_objnum; // DECnet object number unsigned short sdn_objnamel; // DECnet object name length unsigned char sdn_objname[DN_MAXOBJL]; // DECnet object name struct dn_naddr sdn_add; // DECnet address };