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.
Fork of DhcpServer by
DhcpServer Class Reference
This class is intended for use the mbed board as a DHCP server. More...
#include <DhcpServer.h>
Public Member Functions | |
| DhcpServer (NetworkInterface *net, const char *name) | |
| Constructor: Initializes DhcpServer. | |
| virtual | ~DhcpServer () |
| Destructor. | |
Detailed Description
This class is intended for use the mbed board as a DHCP server.
This class can be allocated five IP addresses. Top 3byte of IP address is the same as the server address, the lower 1byte is 10-14 is allocated. For example, if the server address is "192.168.0.1", IP address will be allocated "192.168.0.10" ~ "192.168.0.14".
Definition at line 13 of file DhcpServer.h.
Constructor & Destructor Documentation
| DhcpServer | ( | NetworkInterface * | net, |
| const char * | name | ||
| ) |
Constructor: Initializes DhcpServer.
- Parameters:
-
net Common interface that is shared between network devices name a pointer to a string containing the server name. (e.g."ServerName")
Definition at line 141 of file DhcpServer.cpp.
| ~DhcpServer | ( | ) | [virtual] |
Destructor.
Definition at line 215 of file DhcpServer.cpp.
Generated on Wed Jul 13 2022 20:12:22 by
1.7.2
