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.
Revision 3:0c324737064d, committed 2010-11-09
- Comitter:
- mbed714
- Date:
- Tue Nov 09 19:32:44 2010 +0000
- Parent:
- 2:ed3cf96c4b63
- Commit message:
Changed in this revision
| if/eth/EthernetNetIf.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/if/eth/EthernetNetIf.h Tue Nov 09 19:24:39 2010 +0000
+++ b/if/eth/EthernetNetIf.h Tue Nov 09 19:32:44 2010 +0000
@@ -50,6 +50,17 @@
{
public:
///Instantiates the Interface and register it against the stack, DHCP will be used
+ /**
+ * An optional hostname can be specified which will be passed to the DHCP server.
+ * Examples without and with hostname specified:
+ *
+ * @code
+ * EthernetNetIf eth();
+ * @endcode
+ * @code
+ * EthernetNetIf eth("mbedSE");
+ * @endcode
+ */
EthernetNetIf(const char* hostname = NULL); //W/ DHCP
///Instantiates the Interface and register it against the stack, DHCP will not be used