File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
libraries/lwIpWrapper/src Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 66#include < functional>
77
88/* Exported types ------------------------------------------------------------*/
9- /* TCP connection state */
10- typedef enum {
11- TCP_NONE = 0 ,
12- TCP_CONNECTED,
13- TCP_RECEIVED,
14- TCP_SENT,
15- TCP_ACCEPTED,
16- TCP_CLOSING,
17- } tcp_client_states;
18-
199/* Struct to store received data */
2010struct pbuf_data {
2111 struct pbuf * p; // the packet buffer that was received
@@ -31,11 +21,4 @@ struct udp_struct {
3121 std::function<void ()> onDataArrival;
3222};
3323
34- /* TCP structure */
35- struct tcp_struct {
36- struct tcp_pcb * pcb; /* pointer on the current tcp_pcb */
37- struct pbuf_data data;
38- tcp_client_states state; /* current connection state */
39- };
40-
4124#endif
You can’t perform that action at this time.
0 commit comments