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: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: SocketInterface.h
- Revision:
- 9:26b257519de9
- Parent:
- 8:4b7f97a5597b
- Child:
- 11:47c32687a44c
--- a/SocketInterface.h Wed Jun 17 23:37:43 2015 +0000
+++ b/SocketInterface.h Thu Jun 18 15:24:55 2015 +0000
@@ -107,11 +107,11 @@
*/
virtual int32_t accept(const Endpoint &endpoint) const = 0;
- /** In client mode, connect to a remote host
+ /** In client mode, open a connection to a remote host
@param endpoint The endpoint we want to connect to
@return 0 on success, -1 on failure (when an hostname cannot be resolved by DNS).
*/
- virtual int32_t connect(const Endpoint &endpoint) const = 0;
+ virtual int32_t open(const Endpoint &endpoint) const = 0;
/** In client or server mode send data
@param data A buffer of data to send
