WIZNet W5500 with additional enhancements
Fork of WIZnetInterface by
Diff: Socket/TCPSocketServer.cpp
- Revision:
- 34:7d44648ec5f2
- Parent:
- 32:f6d76a55a50b
--- a/Socket/TCPSocketServer.cpp Sat Oct 07 22:10:01 2017 +0200
+++ b/Socket/TCPSocketServer.cpp Mon Oct 09 19:58:19 2017 +0200
@@ -83,13 +83,13 @@
_sock_fd = -1; // want to assign new available _sock_fd.
if(bind(listen_port) < 0) {
// modified by Patrick Pollet
- error("No more socket for listening, bind error");
+ printf("No more socket for listening, bind error");
return -1;
} else {
//return -1;
if(listen(1) < 0) {
// modified by Patrick Pollet
- error("No more socket for listening, listen error");
+ printf("No more socket for listening, listen error");
return -1;
}
}
Helmut Tschemernjak
