Fix the incorrect comment for set_blocking()

pull/8580/head
Terence Zhang 2018-10-30 15:41:32 +08:00
parent 5ed07c2dd4
commit 2c56bd8151
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ public:
* blocking operations such as send/recv/accept return
* NSAPI_ERROR_WOULD_BLOCK if they can not continue.
*
* set_blocking(false) is equivalent to set_timeout(-1)
* 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)
*
* @param blocking true for blocking mode, false for non-blocking mode.
*/