• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to read DHCP offer packet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Unable to read DHCP offer packet
  • Next by Date: Re: Identifying CD drives across reboots
  • Previous by thread: Unable to read DHCP offer packet
  • Next by thread: How does 'Finder' open an application and bring the window to the front?
  • Index(es):
    • Date
    • Thread