Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to read DHCP offer packet



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Unable to read DHCP offer packet (From: "nandan.nivgune" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.