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.
Dependents: EthernetInterface EthernetInterface_RSF EthernetInterface EthernetInterface ... more
Diff: TCPSocketConnection.cpp
- Revision:
- 4:75988d748e4d
- Parent:
- 3:e6474399e057
- Child:
- 5:300e7ad2dc1d
diff -r e6474399e057 -r 75988d748e4d TCPSocketConnection.cpp
--- a/TCPSocketConnection.cpp Wed Jul 25 14:59:37 2012 +0000
+++ b/TCPSocketConnection.cpp Thu Jul 26 10:07:43 2012 +0000
@@ -27,7 +27,7 @@
_ipAddress[0] = '\0';
}
-int TCPSocketConnection::connect(char* host, int port) {
+int TCPSocketConnection::connect(const char* host, const int port) {
if (init(SOCK_STREAM) < 0)
return -1;
