Projectlab Elektronica-ICT KULeuven
Dependencies: EthernetInterface TMP102 TextLCD mbed-rtos mbed
TCPServer.h
- Committer:
- seppeduwe
- Date:
- 2014-03-14
- Revision:
- 0:ae3af7d18c4a
File content as of revision 0:ae3af7d18c4a:
#include "EthernetInterface.h" #ifndef TCPServer_H #define TCPServer_H class TCPServer { private: EthernetInterface* eth; TCPSocketConnection* socket; TCPSocketServer* server; public: TCPServer(char* sourceAddress); void send(char* data); int read(char* buffer); void printStatus(void); int connect(char* destinationAddress); int close(void); void resetSocket(void); ~TCPServer(); }; #endif