W5200(WIZ820io) network interface
Diff: MyNetTcpSocket.h
- Revision:
- 1:803123933c5a
- Parent:
- 0:61831b843b44
--- a/MyNetTcpSocket.h Sat Apr 14 17:21:11 2012 +0000 +++ b/MyNetTcpSocket.h Tue Apr 17 12:13:15 2012 +0000 @@ -1,11 +1,11 @@ -// MyNetTcpSocket.h 2012/4/14 +// MyNetTcpSocket.h 2012/4/16 #ifndef MYNETTCPSOCKET_H #define MYNETTCPSOCKET_H #include "if/net/nettcpsocket.h" class MyNetTcpSocket : public NetTcpSocket { public: - MyNetTcpSocket(); + MyNetTcpSocket(int socket = (-1)); virtual ~MyNetTcpSocket(); virtual NetTcpSocketErr bind(const Host& me); virtual NetTcpSocketErr listen(); @@ -17,6 +17,7 @@ virtual NetTcpSocketErr poll(); protected: int _socket; + bool wait_accept; private: void cleanUp(); //Flush input buffer queue<MyNetTcpSocket*> m_lpInNetTcpSocket;