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.
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: SocketInterface.h
- Branch:
- api-changes
- Revision:
- 36:eab792dfb0d8
- Parent:
- 32:2c5fc105fc50
- Child:
- 38:157fb2ab965f
--- a/SocketInterface.h Mon Feb 22 20:05:20 2016 -0600 +++ b/SocketInterface.h Mon Feb 22 20:08:04 2016 -0600 @@ -47,9 +47,11 @@ virtual void setPort(uint16_t port); /** Open a connection to the underlying address + * @param ip IP address to connect to + * @param port Port to connect to * @return 0 on success */ - virtual int32_t open() = 0; + virtual int32_t open(const char *ip, uint16_t port) = 0; /** Close an open connection * @return 0 on success