First version

Dependencies:   mbed EthernetInterface mbed-rto

Committer:
KlaasGovaerts
Date:
Wed Mar 28 14:19:06 2018 +0000
Revision:
5:9903a0906a72
Parent:
4:0413d42377d1
Child:
12:f3db7045e220
Versie 28/03

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KlaasGovaerts 4:0413d42377d1 1 #include "mbed.h"
KlaasGovaerts 4:0413d42377d1 2 #include "EthernetInterface.h"
KlaasGovaerts 5:9903a0906a72 3 //#include "TCPSocket.h"
KlaasGovaerts 4:0413d42377d1 4
KlaasGovaerts 4:0413d42377d1 5 #ifndef TCPLISTENER_H
KlaasGovaerts 4:0413d42377d1 6 #define TCPLISTENER_H
KlaasGovaerts 4:0413d42377d1 7 class TCPlistener{
KlaasGovaerts 4:0413d42377d1 8 private:
KlaasGovaerts 4:0413d42377d1 9 EthernetInterface eth;
KlaasGovaerts 5:9903a0906a72 10 //TCPSocket server;
KlaasGovaerts 4:0413d42377d1 11 Endpoint client;
KlaasGovaerts 4:0413d42377d1 12 public:
KlaasGovaerts 4:0413d42377d1 13 void receivePacket(char *contents,int size);
KlaasGovaerts 4:0413d42377d1 14 TCPlistener();
KlaasGovaerts 4:0413d42377d1 15 };
KlaasGovaerts 4:0413d42377d1 16 #endif