SOCK_ADAPTER_INFORMATION (STRUCT)¶
TYPE SOCK_ADAPTER_INFORMATION : STRUCT
Structure to describe a network adapter on SysSocket level
- InOut:
- Name - Type - Comment - udiStructSize- UDINT- Size of the structure SOCK_ADAPTER_INFORMATION returned from external implementation - udiVersion- UDINT- Version number of the structure - udiIndex- UDINT- Index number of this adapter. Value is constant until shutdown - udiReserved- UDINT- Reserved for internal use - wsName- WSTRING(ADAPTER_INFO_NAME_LEN)- Name of the network interface - wsDescription- WSTRING(ADAPTER_INFO_DESC_LEN)- Description text for the network interface; may be empty - abyMac- ARRAY [0..(ADAPTER_INFO_MAC_ADDR_LENGTH - 1)] OF BYTE - MAC ID (hardware address) - wType- WORD- Adapter type, see “Adapter types” contants - SOCK_AIT_xxxin GVL- dwFlags- DWORD- Flags to characterize the adapter, see “Adapter information flags” constants - SOCK_AIF_xxxin GVL- IpAddr- Ip address in network byte order - NetMask- Subnet mask in network byte order - DefaultGateway- Ip address of default gateway in network byte order; only valid if SOCK_AIF_GATEWAY_INFO_VALID is set in dwFlags in GVL 
