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 6
6
#include < functional>
7
7
8
8
/* 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
-
19
9
/* Struct to store received data */
20
10
struct pbuf_data {
21
11
struct pbuf * p; // the packet buffer that was received
@@ -31,11 +21,4 @@ struct udp_struct {
31
21
std::function<void ()> onDataArrival;
32
22
};
33
23
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
-
41
24
#endif
You can’t perform that action at this time.
0 commit comments