Re: Unable to read DHCP offer packet
Re: Unable to read DHCP offer packet
- Subject: Re: Unable to read DHCP offer packet
- From: Peter Sichel <email@hidden>
- Date: Mon, 17 Dec 2007 09:14:18 -0500
On Dec 17, 2007, at 5:39 AM, nandan.nivgune wrote:
With reference from the IP-Configuration Bundle source code, I am
trying to do following steps;
1> Send DHCP Discover packet.
2> Receive the DHCP offer from various servers.
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.
<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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden