SOCK_ADAPTER_INFORMATION3 (STRUCT)
TYPE SOCK_ADAPTER_INFORMATION3 : STRUCT
Structure to describe a network adapter on SysSocket level, including OS index of adapter
- InOut:
Name
Type
Comment
udiStructSizeUDINTSize of the structure SOCK_ADAPTER_INFORMATION returned from external implementation
udiVersionUDINTVersion number of the structure
udiIndexUDINTIndex number of this adapter. Value is constant until shutdown
udiReservedUDINTReserved for internal use
wsNameWSTRING(ADAPTER_INFO_NAME_LEN)Name of the network interface
wsDescriptionWSTRING(ADAPTER_INFO_DESC_LEN)Description text for the network interface; may be empty
abyMacARRAY [0..(ADAPTER_INFO_MAC_ADDR_LENGTH - 1)] OF BYTE
MAC ID (hardware address)
wTypeWORDAdapter type, see “Adapter types” constants
SOCK_AIT_xxxin GVLdwFlagsDWORDFlags to characterize the adapter, see “Adapter information flags” constants
SOCK_AIF_xxxin GVLIpAddrIP address in network byte order
NetMaskSubnet mask in network byte order
DefaultGatewayIP address of default gateway in network byte order; only valid if SOCK_AIF_GATEWAY_INFO_VALID is set in dwFlags in GVL
PrimaryNameServerPrimary Name Server. Value of 0.0.0.0 indicates no name server has been configured.
SecondaryNameServerSecondary Name Server. Value of 0.0.0.0 indicates no secondary name server has been configured.
wsDNSSuffixWSTRING(ADAPTER_INFO_DNSSUFFIX_LEN)Default domain name.
DHCPServerIP address of DHCP server; only valid if SOCK_AIF_DHCP_INFO_VALID is set in dwFlags in GVL
udiOSIndexUDINTOperating system 1-based index number of this adapter. Value is constant until shutdown. Value is 0 if not supported by OS.