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.
- Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden