First version
Dependencies: mbed EthernetInterface mbed-rto
Diff: TCPlistener.h
- Revision:
- 36:aa6c6c177be2
- Parent:
- 35:efdbfccf2678
--- a/TCPlistener.h Wed May 02 06:33:40 2018 +0000 +++ b/TCPlistener.h Wed May 02 08:11:42 2018 +0000 @@ -5,16 +5,19 @@ #ifndef TCPLISTENER_H #define TCPLISTENER_H +/** +* Class used to receive segments using TCP. +*/ class TCPlistener{ private: EthernetInterface eth; TCPSocketServer server; //TCPSocketConnection* connections[10]; - int arraySize; + //int arraySize; //TCPSocketConnection* newConnection(); public: bool receiveSegment(char *contents,int size); - void listen(); + //void listen(); TCPlistener(); }; #endif \ No newline at end of file