Re: Unable to read DHCP offer packet
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 17, 2007, at 5:39 AM, nandan.nivgune wrote: 1> Send DHCP Discover packet. 2> Receive the DHCP offer from various servers. <http://www.sustworks.com/site/prod_ipmx_help/html/DHCPTestHelp.html> Kind Regards, - Peter _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... With reference from the IP-Configuration Bundle source code, I am trying to do following steps; Step one completes successfully and I am also able see the OFFER packets from the DHCP servers in ethereal, But while reading on the socket, which I used for sending DISCOVER PACKET I am getting resource unavailable error and read fails. Mac OS X already has a DHCP client bound to the corresponding UDP receive port, so you can't bind to that endpoint. I've written a DHCP Test tool that does something similar using the UNIX packet capture library libpcap to read DHCP server responses. This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Sichel