Daniele Lacamera / PicoTCP-Experimental_CDC_ECM_Branch

Fork of PicoTCP by Daniele Lacamera

Revision:
13:c6662adea07d
Parent:
11:58acd53df75c
Child:
15:129f20ca4d7d
Child:
18:c6f67fcfc62a
--- a/Socket/TCPSocketConnection.cpp	Thu Jun 06 07:09:23 2013 +0000
+++ b/Socket/TCPSocketConnection.cpp	Thu Jun 06 09:14:40 2013 +0000
@@ -117,7 +117,10 @@
     if (!_blocking) {
         TimeInterval timeout(_timeout);
         if (wait_readable(timeout) != 0)
+        {
+            printf("Failed receiving\n");
             return -1;
+        }
     }
     
     int n = picotcp_read(_sock_fd, data, length);