![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Diff: TCPlistener.h
- Revision:
- 35:efdbfccf2678
- Parent:
- 20:fe6a58e84929
- Child:
- 36:aa6c6c177be2
diff -r 915f6cb7ffa5 -r efdbfccf2678 TCPlistener.h --- a/TCPlistener.h Wed Apr 25 14:51:18 2018 +0000 +++ b/TCPlistener.h Wed May 02 06:53:40 2018 +0000 @@ -5,6 +5,9 @@ #ifndef TCPLISTENER_H #define TCPLISTENER_H +/** +* Class used to receive segments using TCP. +*/ class TCPlistener{ private: EthernetInterface eth; @@ -14,7 +17,7 @@ //TCPSocketConnection* newConnection(); public: bool receiveSegment(char *contents,int size); - void listen(); + //void listen(); TCPlistener(); }; #endif \ No newline at end of file