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.
Diff: TCPSocket.h
- Revision:
- 18:0a988e4abb72
- Parent:
- 17:b1d417383c0d
- Child:
- 20:dd5f19874adf
diff -r b1d417383c0d -r 0a988e4abb72 TCPSocket.h --- a/TCPSocket.h Tue Apr 19 18:20:38 2016 -0500 +++ b/TCPSocket.h Tue Apr 19 18:22:15 2016 -0500 @@ -26,8 +26,14 @@ public: /** TCP socket lifetime */ + TCPSocket(); TCPSocket(NetworkInterface *iface); virtual ~TCPSocket(); + + /** Open the socket + * @param iface Interface to open socket on + */ + virtual int open(NetworkInterface *iface); /** Connects this TCP socket to the server * @param host The host to connect to. It can either be an IP Address