Structure for query SiWx91x socket information.
The structure queries the information about a specific socket in the SiWx91x series. It includes details such as: socket identifier, type, source and destination ports, and the IP address of the remote host. The IP address can be either IPv4 or IPv6, determined by the context structure which is used.
Public Attributes#
uint8_t
Socket Identifier.
uint8_t
Socket type (for example,TCP, and UDP).
uint8_t
Source port number used by the socket.
uint8_t
Destination port number used by the socket.
uint8_t
IPv4 address of the remote host.
uint8_t
IPv6 address of the remote host.
union sl_si91x_sock_info_query_t::@1
IP address of the destination host.
Public Attribute Documentation#
source_port#
uint8_t sl_si91x_sock_info_query_t::source_port[2]
Source port number used by the socket.
dest_port#
uint8_t sl_si91x_sock_info_query_t::dest_port[2]
Destination port number used by the socket.
dest_ip_address#
union sl_si91x_sock_info_query_t::@1 sl_si91x_sock_info_query_t::dest_ip_address
IP address of the destination host.