yangyang
Fork of WIZnetInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 32:26fc4b6c5784
- Parent:
- 31:f6a5f6d1978b
--- a/Socket/TCPSocketConnection.cpp Fri Nov 04 12:09:25 2016 +0000 +++ b/Socket/TCPSocketConnection.cpp Wed Nov 09 09:23:14 2016 +0000 @@ -43,7 +43,7 @@ if (!eth->connect(_sock_fd, get_address(), port)) {//should jion the timeout return -1; } - set_blocking(false); + // add code refer from EthernetInterface. _is_connected = true;