Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GPRSInterface by
Diff: Socket/Socket.h
- Revision:
- 1:7298a7950f65
- Parent:
- 0:8ccbd963e74d
- Child:
- 3:acf2ea413e72
diff -r 8ccbd963e74d -r 7298a7950f65 Socket/Socket.h
--- a/Socket/Socket.h Tue Feb 25 02:52:48 2014 +0000
+++ b/Socket/Socket.h Tue Feb 25 05:56:19 2014 +0000
@@ -31,14 +31,7 @@
/** Socket
*/
Socket();
-
- /** Set blocking or non-blocking mode of the socket and a timeout on
- blocking socket operations
- \param blocking true for blocking mode, false for non-blocking mode.
- \param timeout timeout in ms [Default: (1500)ms].
- */
- void set_blocking(bool blocking, unsigned int timeout=1500);
-
+
/** Close the socket file descriptor
*/
int close();
@@ -47,8 +40,6 @@
protected:
int _sock_fd;
- bool _blocking;
- int _timeout;
GPRS* gprs;
};