IPX/SPX Programming Manual
Data Structures
HP NonStop IPX/SPX Programming Manual—528022-001
4-6
sockaddr
Figure 4-2 compares the sockaddr and sockaddr_in data structures that exist for
RVUs beginning with the D30 RVU.
For a better understanding of these examples, see the sockaddr_in and in_addr
structures in this section and the description of the bind routine in Section 5, Library
Routines.
Figure 4-2. D30/D40 Comparison of sockaddr and sockaddr_in Data Structures
in_addr {
long s_addr;
}
sockaddr_in {
short sin_family;
short sin_port;
struct in_addr sin_addr;
char sa_data [8];
}
sin_family sin_port struct in_addr sin_addr sa_data[8]
sockaddr {
short sa_family;
char sa_data [14];
}
sa_family sa_data[14]
Family Port Internet Address
Unused
VST0402.vsd