demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Committer:
KlaasGovaerts
Date:
Wed May 09 15:13:40 2018 +0000
Revision:
67:0b634db67ca8
Parent:
63:ef4592cf5397
Child:
75:31c15986b85e
Nog verder opgekuist.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KlaasGovaerts 5:0413d42377d1 1 #include "mbed.h"
KlaasGovaerts 5:0413d42377d1 2 #include "EthernetInterface.h"
KlaasGovaerts 13:f3db7045e220 3 #include "TCPSocketServer.h"
KlaasGovaerts 13:f3db7045e220 4 #include "TCPSocketConnection.h"
KlaasGovaerts 5:0413d42377d1 5
KlaasGovaerts 5:0413d42377d1 6 #ifndef TCPLISTENER_H
KlaasGovaerts 5:0413d42377d1 7 #define TCPLISTENER_H
KlaasGovaerts 5:0413d42377d1 8 class TCPlistener{
KlaasGovaerts 5:0413d42377d1 9 private:
KlaasGovaerts 5:0413d42377d1 10 EthernetInterface eth;
KlaasGovaerts 13:f3db7045e220 11 TCPSocketServer server;
KlaasGovaerts 5:0413d42377d1 12 public:
KlaasGovaerts 67:0b634db67ca8 13 TCPlistener();
KlaasGovaerts 16:ffd311730575 14 bool receiveSegment(char *contents,int size);
KlaasGovaerts 5:0413d42377d1 15 };
KlaasGovaerts 5:0413d42377d1 16 #endif