SOCK_ADAPTER_INFORMATION (STRUCT)
TYPE SOCK_ADAPTER_INFORMATION : STRUCT
Structure to describe a network adapter on SysSocket level
- 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” contants
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