Ethernet interface for W5500 with bug fixed in socket::close()
Fork of EthernetInterfaceW5500 by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 14:a089e591e530
- Parent:
- 10:cadac6bcd169
--- a/Socket/TCPSocketConnection.cpp Mon Jul 21 05:29:03 2014 +0000 +++ b/Socket/TCPSocketConnection.cpp Tue Aug 19 23:32:48 2014 +0000 @@ -42,6 +42,7 @@ if (!eth->connect(_sock_fd, get_address(), port)) { return -1; } + set_blocking(false); // add code refer from EthernetInterface. _is_connected = true;