We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8976709 + 2c56bd8 commit 2015a61Copy full SHA for 2015a61
features/netsocket/Socket.h
@@ -156,8 +156,8 @@ class Socket {
156
* blocking operations such as send/recv/accept return
157
* NSAPI_ERROR_WOULD_BLOCK if they can not continue.
158
*
159
- * set_blocking(false) is equivalent to set_timeout(-1)
160
- * set_blocking(true) is equivalent to set_timeout(0)
+ * set_blocking(false) is equivalent to set_timeout(0)
+ * set_blocking(true) is equivalent to set_timeout(-1)
161
162
* @param blocking true for blocking mode, false for non-blocking mode.
163
*/
0 commit comments