No more update~~ please use W5500Interface.
Fork of EthernetInterfaceW5500 by
wrote:
NO more update for this library.
Please move to this page W5500Interface for newer version.
Import libraryW5500Interface
This is the Interface library for WIZnet W5500 chip which forked of EthernetInterfaceW5500, WIZnetInterface and WIZ550ioInterface. This library has simple name as "W5500Interface". and can be used for Wiz550io users also.
This Library for W5500 users. no need to use lwIP(or S/W TCP/IP) Some update & code clean for W5500 only refer from WIZ550ioInterface, WIZnetLibrary and WiflyInterface.
Thanks for ban4jp. This library forks of WIZ550ioInterface.
Diff: Socket/TCPSocketServer.cpp
- Revision:
- 13:6f469f76a76a
- Parent:
- 12:d130abe9d4a8
- Child:
- 15:fe68ac753657
--- a/Socket/TCPSocketServer.cpp Mon Jul 21 05:12:11 2014 +0000 +++ b/Socket/TCPSocketServer.cpp Mon Jul 21 05:29:03 2014 +0000 @@ -81,11 +81,11 @@ // and then, for the next connection, server socket should be assigned new one. _sock_fd = -1; // want to assign new available _sock_fd. if(bind(listen_port) < 0) { - printf("No more server socket"); + error("No more socket for listening"); } else { //return -1; if(listen(1) < 0) { - printf("No more server socket"); + error("No more socket for listening"); } } return 0;