a library to use GPRS like ethernet or wifi, which makes it possible to connect to the internet with your GPRS module
Dependencies: BufferedSerial
Dependents: ThinkSpeak_Test roam_v1 roam_v2 finalv3
Fork of GPRSInterface by
Diff: Socket/Socket.h
- Revision:
- 1:7298a7950f65
- Parent:
- 0:8ccbd963e74d
- Child:
- 3:acf2ea413e72
--- 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; };