Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
Diff: mbed/TcpSocket.h
- 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
MiMic Webservice library