{"action":"opened","issue":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/1275","labels_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1275/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1275/comments","events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/1275/events","html_url":"https://github.com/mbedmicro/mbed/issues/1275","id":98685748,"number":1275,"title":"TCPSocketConnection::set_blocking(bool blocking, unsigned int \ttimeout) looks wrong","user":{"login":"raucha","id":9207374,"avatar_url":"https://avatars.githubusercontent.com/u/9207374?v=3","gravatar_id":"","url":"https://api.github.com/users/raucha","html_url":"https://github.com/raucha","followers_url":"https://api.github.com/users/raucha/followers","following_url":"https://api.github.com/users/raucha/following{/other_user}","gists_url":"https://api.github.com/users/raucha/gists{/gist_id}","starred_url":"https://api.github.com/users/raucha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raucha/subscriptions","organizations_url":"https://api.github.com/users/raucha/orgs","repos_url":"https://api.github.com/users/raucha/repos","events_url":"https://api.github.com/users/raucha/events{/privacy}","received_events_url":"https://api.github.com/users/raucha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T07:13:14Z","updated_at":"2015-08-03T07:13:14Z","closed_at":null,"body":"i think \"bool blocking\" should true when blockingmode. \r\nAnd in [docs page](https://developer.mbed.org/users/mbed_official/code/Socket/docs/434906b5b977/classSocket.html#a43e33b8b5b27d410e6ace6c37dbaeb52), written same thing as above.\r\nBut in [example page](https://developer.mbed.org/handbook/Socket) and in code ([Socket::set_blocking](https://github.com/mbedmicro/mbed/blob/03fff9249b0ca5efb2e12506ce8fb3e6cc258d9d/libraries/net/lwip/Socket/Socket.cpp), [TCPSocketConnection::send](https://github.com/mbedmicro/mbed/blob/03fff9249b0ca5efb2e12506ce8fb3e6cc258d9d/libraries/net/lwip/Socket/TCPSocketConnection.cpp)), blocking mode is enable when \"blocking == false\"\r\n\r\nwhich is correct?"}}