UDP socket information structure. More...
Data Fields | |
UDPSOCKET * | so_next |
Link to next tcp socket structure. | |
uint16_t | so_local_port |
Local port number in net byte order. | |
NETBUF * | so_rx_nb |
Received, but not read by application. | |
HANDLE | so_rx_rdy |
Receiver event queue. | |
int | so_rx_cnt |
Number of data bytes in the receive buffer. | |
int | so_rx_bsz |
Receive buffer size. | |
uint16_t | so_last_error |
Last error of socket. | |
uint32_t | so_remote_addr |
Remote IP address in net byte order. Important just in case of an error. | |
uint16_t | so_remote_port |
Remote port number in net byte order. Important just in case of an error. |
UDP socket information structure.
UDP socket type.
Applications should not rely on the content of this structure. It may change without notice.
Definition at line 170 of file sock_var.h.
UDPSOCKET* UDPSOCKET::so_next |
Link to next tcp socket structure.
Definition at line 171 of file sock_var.h.
uint16_t UDPSOCKET::so_local_port |
Local port number in net byte order.
Definition at line 172 of file sock_var.h.
NETBUF* UDPSOCKET::so_rx_nb |
Received, but not read by application.
Definition at line 173 of file sock_var.h.
HANDLE UDPSOCKET::so_rx_rdy |
Receiver event queue.
Definition at line 174 of file sock_var.h.
int UDPSOCKET::so_rx_cnt |
Number of data bytes in the receive buffer.
Definition at line 175 of file sock_var.h.
int UDPSOCKET::so_rx_bsz |
Receive buffer size.
Definition at line 176 of file sock_var.h.
uint16_t UDPSOCKET::so_last_error |
Last error of socket.
Definition at line 178 of file sock_var.h.
uint32_t UDPSOCKET::so_remote_addr |
Remote IP address in net byte order. Important just in case of an error.
Definition at line 179 of file sock_var.h.
uint16_t UDPSOCKET::so_remote_port |
Remote port number in net byte order. Important just in case of an error.
Definition at line 180 of file sock_var.h.