A version of LWIP, provided for backwards compatibility.

Dependents:   AA_DemoBoard DemoBoard HelloServerDemo DemoBoard_RangeIndicator ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers tcpitem.h Source File

tcpitem.h

00001 #ifndef TCPITEM_H
00002 #define TCPITEM_H
00003 
00004 #include "arch/cc.h"
00005 #include "lwip/err.h"
00006 #include "lwip/tcp.h"
00007 
00008 namespace mbed {
00009 
00010   class TCPItem {
00011     public:
00012       TCPItem() {}
00013       TCPItem(struct tcp_pcb *pcb) : _pcb(pcb) {}
00014       
00015       void abort();
00016       err_t close();
00017 
00018     protected:
00019       struct tcp_pcb *_pcb;
00020   };
00021 
00022 };
00023 
00024 #endif /* TCPITEM_H */