ARCHIVED
activity on this library has stalled for quite some time and i won't update it any further. for other/up-to-date/better implementations have a look at infusion/node-dhcp or konobi/node-dhcpjs and apaprocki/node-dhcpjs.
A DHCP (server) implementation purely written in JavaScript.
node.js 0.8.x
Clone this into your node_modules
folder.
var dhcpd = require('node-dhcpd');
var server = new dhcpd('udp4', { broadcast: '192.168.0.255' });
For a real-world example have a look at @konobi's forge.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Published under the MIT license.