Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cc3000_hello_world_demo cc3000_simple_socket_demo cc3000_ntp_demo cc3000_ping_demo ... more
Diff: Socket/Socket.cpp
- Revision:
- 17:14b6a3a2b622
- Parent:
- 16:f3676ae62f96
- Child:
- 45:50ab13d8f2dc
--- a/Socket/Socket.cpp Wed Oct 02 16:00:41 2013 +0000
+++ b/Socket/Socket.cpp Wed Oct 02 20:29:31 2013 +0200
@@ -71,7 +71,7 @@
int ret = _cc3000_module->_socket.select(_sock_fd+1, readset, writeset, NULL, timeout);
- DBG_SOCKET("Select on sock_fd: %d, returns %d. fdSet: %d", _sock_fd, ret, fdSet);
+ DBG_SOCKET("Select on sock_fd: %d, returns %d. fdSet: %d", _sock_fd, ret, FD_ISSET(_sock_fd, &fdSet));
// TODO
//return (ret <= 0 || !FD_ISSET(_sock_fd, &fdSet)) ? (-1) : (0);
SimpleLink Wi-Fi CC3000
Avnet Wi-Go System