IPX/SPX Programming Manual
Library Routines
HP NonStop IPX/SPX Programming Manual—528022-001
5-29
ipx_addr
ipx_addr
The ipx_addr function converts an address format from hexadecimal format to binary 
format. 
p_addr
is a pointer to the IPX address in binary format. This is the return value. This 
address is a pointer to the structure sockaddr_nv.
addr_ptr
points to an IPX address in hexadecimal format, such as:
0x000000F200001B30DD8C0451
where the first 8 digits are the network number, the next 12 digits are the node 
number, and the last 4 digits are the IPX socket number.
Errors
0xffffffffl is returned if the character string that is passed is not an IPX address.
C synopsis
#include <nv.h>
p_addr = ipx_addr (addr_ptr);
 struct nv_addr * p_addr;
 char *addr_ptr;
TAL synopsis
?NOLIST, SOURCE SOCKDEFT
?NOLIST, SOURCE SOCKPROC
p_addr := ipx_addr (addr_ptr);
 INT(32) p_addr ;
 STRING .EXT addr_ptr;










