mbed unsupported / lwip

Dependents:   AA_DemoBoard DemoBoard HelloServerDemo DemoBoard_RangeIndicator ... more

Revision:
0:5e1631496985
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tag/0.5/tcpitem.h	Tue May 08 15:32:10 2012 +0100
@@ -0,0 +1,24 @@
+#ifndef TCPITEM_H
+#define TCPITEM_H
+
+#include "arch/cc.h"
+#include "lwip/err.h"
+#include "lwip/tcp.h"
+
+namespace mbed {
+
+  class TCPItem {
+    public:
+      TCPItem() {}
+      TCPItem(struct tcp_pcb *pcb) : _pcb(pcb) {}
+      
+      void abort();
+      err_t close();
+
+    protected:
+      struct tcp_pcb *_pcb;
+  };
+
+};
+
+#endif /* TCPITEM_H */
\ No newline at end of file