Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
lwip_sock Struct Reference
Contains all internal pointers and states used for a socket. More...
#include <sockets_priv.h>
Data Fields | |
struct netconn * | conn |
sockets currently are built on netconns, each socket has one netconn | |
union lwip_sock_lastdata | lastdata |
data that was left from the previous read | |
s16_t | rcvevent |
number of times data was received, set by event_callback(), tested by the receive and select functions | |
u16_t | sendevent |
number of times data was ACKed (free send buffer), set by event_callback(), tested by select | |
u16_t | errevent |
error happened for this socket, set by event_callback(), tested by select | |
SELWAIT_T | select_waiting |
counter of how many threads are waiting for this socket using select |
Detailed Description
Contains all internal pointers and states used for a socket.
Definition at line 67 of file sockets_priv.h.
Field Documentation
sockets currently are built on netconns, each socket has one netconn
Definition at line 69 of file sockets_priv.h.
u16_t errevent |
error happened for this socket, set by event_callback(), tested by select
Definition at line 80 of file sockets_priv.h.
union lwip_sock_lastdata lastdata |
data that was left from the previous read
Definition at line 71 of file sockets_priv.h.
s16_t rcvevent |
number of times data was received, set by event_callback(), tested by the receive and select functions
Definition at line 75 of file sockets_priv.h.
SELWAIT_T select_waiting |
counter of how many threads are waiting for this socket using select
Definition at line 82 of file sockets_priv.h.
u16_t sendevent |
number of times data was ACKed (free send buffer), set by event_callback(), tested by select
Definition at line 78 of file sockets_priv.h.
Generated on Tue Jul 12 2022 13:55:32 by
