IPX_ADDRESS_DATA structure (wsnwlink.h)

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.

Syntax

typedef struct _IPX_ADDRESS_DATA {
  INT     adapternum;
  UCHAR   netnum[4];
  UCHAR   nodenum[6];
  BOOLEAN wan;
  BOOLEAN status;
  INT     maxpkt;
  ULONG   linkspeed;
} IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA;

Members

adapternum

0-based adapter number.

netnum[4]

IPX network number for the associated adapter.

nodenum[6]

IPX node address for the associated adapter.

wan

Specifies whether the adapter is on a wide area network (WAN) link. When TRUE, the adapter is on a WAN link.

status

Specifies whether the WAN link is up. FALSE indicates that the WAN link is up or the adapter is not on a WAN. Compare with the wan member to determine the meaning.

maxpkt

Maximum allowable packet size, excluding the IPX header.

linkspeed

Link speed, returned in 100 byte-per-second increments. For example, a 9600 byte-per-second link would return a value of 96.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wsnwlink.h

See also

getsockopt