IPX/SPX Programming Manual

Data Structures
HP NonStop IPX/SPX Programming Manual528022-001
4-3
nv_addr
nv_addr
The nv_addr data structure specifies the IPX address. It is defined in the nv.h
header file.
s_net[4]
network address portion of the IPX address for the host.
s_host[6]
node address portion of the IPX address for the host.
s_port
IPX socket (port) number portion of the IPX address for the host.
struct nv_addr {
unsigned char s_net[4];
unsigned char s_host[6];
unsigned short s_port;
};
Note. The s_port IPX socket number is different from the term socket used to denote the
end point of a network connection. The IPX socket number is equivalent to the TCP/IP
port number.