TCP communication

Dependents:   Ethernet

Revision:
1:174bf74eba86
Parent:
0:6e800fc6935f
--- a/TCP_COMM.h	Sun Apr 03 15:44:37 2016 +0000
+++ b/TCP_COMM.h	Mon Apr 04 22:04:28 2016 +0000
@@ -1,6 +1,6 @@
 #ifndef TCP_COMM_H
 #define TCP_COMM_H
-
+#include "rtos.h"
 #include "mbed.h"
 #include "ConfigEthernet.h"
 #include <string>
@@ -10,7 +10,7 @@
 class TCP_Communication
 {
     public :
-        TCP_Communication(); // Établir un Thread Server pour recevoir des connexions sur MBED
+        TCP_Communication();
         TCP_Communication(string adrr, int port); // Établir une connexion Socket à l'adresse et le port en paramètre 
         void initSocket();
         void sendDataSocket(char *data);
@@ -28,6 +28,7 @@
         TCPSocketConnection socket;
         
         Thread threadSocket;
+        
         char *url;
         const char *address;
         int port;