Platform SDK: Windows Sockets |
The IPX_NETNUM_DATA structure provides information about a specified IPX network number. Used in conjunction with getsockopt function calls that specify IPX_GETNETINFO in the optname parameter.
typedef struct _IPX_NETNUM_DATA { UCHAR netnum[4]; /* input: IPX network number */ USHORT hopcount; /* output: hop count to this network, in machine order */ USHORT netdelay; /* output: tick count to this network, in machine order */ INT cardnum; /* output: 0-based adapter number used to route to this net; /* can be used as adapternum input to IPX_ADDRESS */ UCHAR router[6]; /* output: MAC address of the next hop router, zeroed if /* the network is directly attached */ } IPX_NETNUM_DATA, *PIPX_NETNUM_DATA;
If information about the IPX network is in the computer's IPX cache, the call will return immediately. If not, RIP requests are used to resolve the information.
Version: Requires Windows Sockets 2.0.
Header: Declared in Wsnwlink.h.