General information
wodDHCPServer is a DHCP server component (Dynamic Host Configuration Protocol), available as COM object and ActiveX control. It provides a framework for passing configuration information to hosts on TCP/IP network. wodDHCPServer implements protocol specific infrastructure, allowing you to allocate IP addresses from your address pool, and provide it to requesting clients by your rules. It is configurable by set of objects and events where you can add your code to control component's behavior.
How does it work?
As described in RFC2131, when clients connect to the network for the first time, they will Announce themselves to the network, waiting for all DHCP servers on the network to send their Offers for possible IP addresses (and other network parameters). Once they receive this information, clients can choose among received offers, and Request the IP address from your server. At any point, based on your decisions, you can Accept client's requests, or just Deny them. At all times, you should keep a database of your address pool, allocations and released done by your server.
Each request received from the client gets unique Session object, where session specific data is stored. You will find here client's MAC address (usually your choices will be based on this information), and setup network parameters directly by populating this object information (Hostname, Gateway...).
Availability
wodDHCPServer can be used from any programming language that supports COM or ActiveX controls. You will find provided samples in VB and VC, but you could also use it in .NET framework, and other languages such as FoxPro.
|