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: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WiflyInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 20:3616a765c1b8
- Parent:
- 17:cb63119802d9
- Child:
- 23:cb8522185c56
--- a/Socket/TCPSocketConnection.cpp Fri Mar 25 11:14:33 2016 +0000 +++ b/Socket/TCPSocketConnection.cpp Fri Mar 25 12:35:55 2016 +0000 @@ -23,7 +23,9 @@ int TCPSocketConnection::connect(const char* host, const int port) { - if (!wifi->connect(host, port)) + bool result = wifi->connect(host, port); + pc.printf("wifi-connect() result: %d\n\r", result); + if (!result) return -1; wifi->flush(); return 0;