SocketGUS

Fork of Socket by mbed official

Files at this revision

API Documentation at this revision

Comitter:
bogdanm
Date:
Mon Aug 19 18:38:18 2013 +0300
Parent:
18:d56496360fc9
Child:
20:f23c3d6c4bc8
Commit message:
Sync with official mbed library release 66

Changed in this revision

TCPSocketConnection.cpp Show annotated file Show diff for this revision Revisions of this file
UDPSocket.h Show annotated file Show diff for this revision Revisions of this file
--- a/TCPSocketConnection.cpp	Thu May 30 17:15:01 2013 +0100
+++ b/TCPSocketConnection.cpp	Mon Aug 19 18:38:18 2013 +0300
@@ -66,7 +66,7 @@
     if ((_sock_fd < 0) || !_is_connected)
         return -1;
     
-    size_t writtenLen = 0;
+    int writtenLen = 0;
     TimeInterval timeout(_timeout);
     while (writtenLen < length) {
         if (!_blocking) {
@@ -110,7 +110,7 @@
     if ((_sock_fd < 0) || !_is_connected)
         return -1;
     
-    size_t readLen = 0;
+    int readLen = 0;
     TimeInterval timeout(_timeout);
     while (readLen < length) {
         if (!_blocking) {
--- a/UDPSocket.h	Thu May 30 17:15:01 2013 +0100
+++ b/UDPSocket.h	Mon Aug 19 18:38:18 2013 +0300
@@ -22,8 +22,6 @@
 #include "Socket/Socket.h"
 #include "Socket/Endpoint.h"
 
-#include <cstdint>
-
 /**
 UDP Socket
 */