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.h
- Revision:
- 4:75988d748e4d
- Parent:
- 3:e6474399e057
- Child:
- 5:300e7ad2dc1d
diff -r e6474399e057 -r 75988d748e4d TCPSocketConnection.h
--- a/TCPSocketConnection.h Wed Jul 25 14:59:37 2012 +0000
+++ b/TCPSocketConnection.h Thu Jul 26 10:07:43 2012 +0000
@@ -39,7 +39,7 @@
\param port The host's port to connect to.
\return 0 on success, -1 on failure.
*/
- int connect(char* host, int port);
+ int connect(const char* host, const int port);
/** Send data to the remote host.
\param data The buffer to send to the host.
