Ryo Iizuka / libMiMic

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Revision:
109:18f12ac01097
Parent:
60:803de2088243
--- a/mbed/TcpSocket.h	Thu Nov 13 14:06:19 2014 +0000
+++ b/mbed/TcpSocket.h	Wed Nov 19 14:45:17 2014 +0000
@@ -3,7 +3,7 @@
 // TcpSocket.h
 ////////////////////////////////////////////////////////////////////////////////
 
-#include "NyLPC_net.h"
+#include "NyLPC_netif.h"
 #include "IpAddr.h"
 
 namespace MiMic
@@ -15,15 +15,13 @@
     class TcpSocket
     {
     private:
-        NyLPC_TcTcpSocket_t _inst;
-        void* _private_rx;
+        NyLPC_TiTcpSocket_t* _inst;
     public:
         /** wrapped base LPC class.*/
-        NyLPC_TcTcpSocket_t* refBaseInstance(){return &this->_inst;}
+        NyLPC_TiTcpSocket_t* refBaseInstance(){return this->_inst;}
     
     public:
-        TcpSocket(unsigned short i_rx_buf_size=(unsigned short)512);
-        TcpSocket(void* i_rx_buf,unsigned short i_rx_buf_size);
+        TcpSocket();
         virtual ~TcpSocket();
         /**
          * @param i_host_addr