- Added messages
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;