Merge pull request #8580 from tz-arm/fix_incorrect_comment_in_socket_h

Fix the incorrect comment for set_blocking()
pull/8604/head
Martin Kojtal 2018-10-31 13:10:35 +01:00 committed by GitHub
commit 2015a61b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.
*/