demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Revision:
13:f3db7045e220
Parent:
6:9903a0906a72
Child:
14:a6c651a1e51c
--- a/TCPlistener.h	Wed Mar 28 14:19:06 2018 +0000
+++ b/TCPlistener.h	Wed Apr 18 07:41:38 2018 +0000
@@ -1,16 +1,19 @@
 #include "mbed.h"
 #include "EthernetInterface.h"
-//#include "TCPSocket.h"
+#include "TCPSocketServer.h"
+#include "TCPSocketConnection.h"
 
 #ifndef TCPLISTENER_H
 #define TCPLISTENER_H
     class TCPlistener{
         private:
             EthernetInterface eth;
-            //TCPSocket server;
+            TCPSocketServer server;
             Endpoint client;
+            TCPSocketConnection *connections[10];
         public:
             void receivePacket(char *contents,int size);
+            void listen();
             TCPlistener();
     };
 #endif
\ No newline at end of file