• 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
DHCP and URL Access on Mac OS X 10.1.2+
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DHCP and URL Access on Mac OS X 10.1.2+


  • Subject: DHCP and URL Access on Mac OS X 10.1.2+
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 17 Apr 2002 20:48:29 -0500

I've discovered an issue with URL Access and DHCP on Mac OS X 10.1.2 and later.

Say you've just created a location containing only an Ethernet device set to configure via DHCP. If you call URLOpen too soon afterwards -- I think before it's obtained an address -- it will return 1. Yes, 1, a completely undocumented error code in this case. If you wait a while before calling URLOpen, it will work as advertised.

This is either a bug in URLOpen or the documentation.

In the meantime, how can I work around it? I could sit in a loop and try URLOpen several times if it returns 1, but I'd prefer to avoid that. Can I just get some sort of notification when DHCP has configured a given interface, and wait for that before calling URLOpen?

-- Chris

--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Mac OS X & WebObjects Consulting | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: DHCP and URL Access on Mac OS X 10.1.2+
      • From: Quinn <email@hidden>
  • Prev by Date: Re: tcpdump interface parameter
  • Next by Date: Re: DHCP and URL Access on Mac OS X 10.1.2+
  • Previous by thread: IrDA Problem with Ericsson phones ( again )
  • Next by thread: Re: DHCP and URL Access on Mac OS X 10.1.2+
  • Index(es):
    • Date
    • Thread