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: UDPSocket.h
- Revision:
- 18:0a988e4abb72
- Parent:
- 17:b1d417383c0d
- Child:
- 20:dd5f19874adf
--- a/UDPSocket.h Tue Apr 19 18:20:38 2016 -0500 +++ b/UDPSocket.h Tue Apr 19 18:22:15 2016 -0500 @@ -26,8 +26,14 @@ public: /** UDPSocket lifetime */ + UDPSocket(); UDPSocket(NetworkInterface *iface); virtual ~UDPSocket(); + + /** Open the socket + * @param iface Interface to open socket on + */ + virtual int open(NetworkInterface *iface); /** Bind a UDP Server Socket to a specific port * @param port The port to listen for incoming connections on