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: HelloWorld ServoInterfaceBoardExample1 4180_Lab4
Diff: api/TCPSocket.cpp
- Revision:
- 2:a4f97773c90f
- Parent:
- 0:632c9925f013
- Child:
- 9:c79fa4034f5b
--- a/api/TCPSocket.cpp Mon Jun 14 10:33:54 2010 +0000 +++ b/api/TCPSocket.cpp Fri Jun 18 09:22:54 2010 +0000 @@ -23,12 +23,12 @@ #include "TCPSocket.h" -TCPSocket::TCPSocket() : m_pNetTcpSocket(NULL) +TCPSocket::TCPSocket() : m_pNetTcpSocket(NULL), m_pCbItem(NULL), m_pCbMeth(NULL), m_pCb(NULL) { } -TCPSocket::TCPSocket(NetTcpSocket* pNetTcpSocket) : m_pNetTcpSocket(pNetTcpSocket) +TCPSocket::TCPSocket(NetTcpSocket* pNetTcpSocket) : m_pNetTcpSocket(pNetTcpSocket), m_pCbItem(NULL), m_pCbMeth(NULL), m_pCb(NULL) { m_pNetTcpSocket->setOnEvent(this, &TCPSocket::onNetTcpSocketEvent); }