yo
Fork of Socket by
Revision 20:b2bfe809b5e2, committed 2017-06-06
- Comitter:
- sefyou
- Date:
- Tue Jun 06 13:29:04 2017 +0000
- Parent:
- 19:434906b5b977
- Commit message:
- yooo
Changed in this revision
Socket.cpp | Show annotated file Show diff for this revision Revisions of this file |
Socket.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Socket.cpp Mon Aug 19 18:38:18 2013 +0300 +++ b/Socket.cpp Tue Jun 06 13:29:04 2017 +0000 @@ -20,7 +20,7 @@ using std::memset; -Socket::Socket() : _sock_fd(-1), _blocking(true), _timeout(1500) { +Socket::Socket() : _sock_fd(-1), _blocking(false), _timeout(0) { }
--- a/Socket.h Mon Aug 19 18:38:18 2013 +0300 +++ b/Socket.h Tue Jun 06 13:29:04 2017 +0000 @@ -45,7 +45,7 @@ \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); + void set_blocking(bool blocking, unsigned int timeout=0); /** Set socket options \param level stack level (see: lwip/sockets.h)