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 (char *name, char *ipadder) | |
| 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 | ( | char * | name, |
| char * | ipadder | ||
| ) |
Constructor: Initializes DhcpServer.
- Parameters:
-
name a pointer to a string containing the server name. (e.g."ServerName") ipadder a pointer to a string containing the server IP address. (e.g."192.168.0.1")
Definition at line 115 of file DhcpServer.cpp.
| ~DhcpServer | ( | ) | [virtual] |
Destructor.
Definition at line 185 of file DhcpServer.cpp.
Generated on Fri Jul 15 2022 03:12:35 by
1.7.2
