Daniele Lacamera / PicoTCP-Experimental_CDC_ECM_Branch

Fork of PicoTCP by Daniele Lacamera

Revision:
15:129f20ca4d7d
Parent:
13:c6662adea07d
diff -r fe225a6f92c0 -r 129f20ca4d7d Socket/TCPSocketConnection.cpp
--- a/Socket/TCPSocketConnection.cpp	Thu Jun 06 09:27:28 2013 +0000
+++ b/Socket/TCPSocketConnection.cpp	Thu Jun 06 11:40:20 2013 +0000
@@ -71,7 +71,6 @@
         TimeInterval timeout(_timeout);
         if (wait_writable(timeout) != 0)
         {
-            printf("Failed\n");
             return -1;
         }
     }
@@ -118,14 +117,13 @@
         TimeInterval timeout(_timeout);
         if (wait_readable(timeout) != 0)
         {
-            printf("Failed receiving\n");
             return -1;
         }
     }
-    
+
     int n = picotcp_read(_sock_fd, data, length);
     _is_connected = (picotcp_state(_sock_fd) == SOCK_CONNECTED);
-    
+
     return n;
 }