Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;
}
}
