NetBurner 3.5.0
PDF Version |
|
Namespaces | |
namespace | DHCP |
DHCP Namespace. | |
Functions | |
bool | AddStandardDHCPServer (int intf=0, IPADDR4 startAddr=IPADDR4::NullIP()) |
Starts a standard allocator DHCP server. | |
#include< dhcpd.h >
Adding a DHCP server will enable your NetBurner device to serve IPv4 addresses. This can be useful in circumstances such as direct connections between 2 devices.
bool AddStandardDHCPServer | ( | int | intf = 0, |
IPADDR4 | startAddr = IPADDR4::NullIP() ) |
#include <dhcpd.h>
Starts a standard allocator DHCP server.
Also checks for existing DHCP servers on the specified network interface.
intf | The interface to use. If no parameter is specified the default value is 0 which will use the first system interface. |
startAddr | The starting IP address. If no parameter is specified the default range of 192.168.1.100 to 192.168.1.249 will be used. |
true | Success |
false | A server already exists or error starting the server |