#include <lwip/src/include/lwip/api.h>
Data Fields | |
| enum netconn_type | type |
| enum netconn_state | state |
| err_t | err |
| sys_sem_t | op_completed |
| sys_mbox_t | recvmbox |
| sys_mbox_t | acceptmbox |
| int | socket |
| int | recv_timeout |
| int | recv_bufsize |
| struct api_msg_msg * | write_msg |
| int | write_offset |
| u8_t | write_delayed |
| netconn_callback | callback |
| enum netconn_type netconn::type |
type of the netconn (TCP, UDP or RAW)
| enum netconn_state netconn::state |
current state of the netconn
| err_t netconn::err |
the last error this netconn had
| sys_sem_t netconn::op_completed |
sem that is used to synchroneously execute functions in the core context
| sys_mbox_t netconn::recvmbox |
mbox where received packets are stored until they are fetched by the netconn application thread (can grow quite big)
| sys_mbox_t netconn::acceptmbox |
mbox where new connections are stored until processed by the application thread
| int netconn::socket |
only used for socket layer
timeout to wait for new data to be received (or connections to arrive for listening netconns)
maximum amount of bytes queued in recvmbox
struct api_msg_msg* netconn::write_msg [read] |
TCP: when data passed to netconn_write doesn't fit into the send buffer, this temporarily stores the message.
TCP: when data passed to netconn_write doesn't fit into the send buffer, this temporarily stores how much is already sent.
TCP: when data passed to netconn_write doesn't fit into the send buffer, this temporarily stores whether to wake up the original application task if data couldn't be sent in the first try.
| netconn_callback netconn::callback |
A callback function that is informed about events for this netconn
1.5.4