branch with improvemnts

Fork of M2XStreamClient by AT&T M2X Team

Revision:
11:5c71c2948812
Parent:
0:f479e4f4db0e
--- a/Client.h	Wed Sep 10 13:07:34 2014 +0000
+++ b/Client.h	Sat Sep 13 15:49:53 2014 +0000
@@ -24,8 +24,12 @@
   virtual uint8_t connected();
 private:
   virtual int read(uint8_t *buf, size_t size);
-  uint8_t _buf[1];
-  uint8_t _len;
+  void _fillin(void);
+  uint8_t _inbuf[128];
+  uint8_t _incnt;
+  void _flushout(void);
+  uint8_t _outbuf[128];
+  uint8_t _outcnt;
   TCPSocketConnection _sock;
 };