| Platform SDK: Windows Sockets |
The IPX_ADDRESS_DATA structure provides information about a specific adapter to which IPX is bound. Used in conjunction with getsockopt function calls that specify IPX_ADDRESS in the optname parameter.
typedef struct _IPX_ADDRESS_DATA {
INT adapternum; /* input: 0-based adapter number */
UCHAR netnum[4]; /* output: IPX network number */
UCHAR nodenum[6]; /* output: IPX node address */
BOOLEAN wan; /* output: TRUE = adapter is on a wan link */
BOOLEAN status; /* output: TRUE = wan link is up (or adapter is not wan) */
INT maxpkt; /* output: max packet size, not including IPX header */
ULONG linkspeed; /* output: link speed in 100 bytes/sec (i.e. 96 == 9600 bps) */
} IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA;
Adapter numbers are base zero, so if there are eight adapters on a given computer, they are numbered 0-7. To determine the number of adapters present on the computer, call the getsockopt function with IPX_MAX_ADAPTER_NUM.
Version: Requires Windows Sockets 2.0.
Header: Declared in Wsnwlink.h.