• 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
URLOpen event callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URLOpen event callback


  • Subject: URLOpen event callback
  • From: Richard <email@hidden>
  • Date: Mon, 02 Jun 2003 19:14:21 +1000
  • Organization: Faraday R&D

It may be a DNS lookup failure, which has a 30sec timeout.
The behaviour mat be different depending on if you are
using the MacOS X or MacOS 9 version.

On MacOS9 attempting to extract status info from the record
passed to the callback causes a nasty crash when DNS fails,
(I think).

>
> Hello, I'm using URLOpen to start a download operation with a valid
> destination file and a eventNotification callback to monitor the
> progress. Problem is this:
>
> After the initiated event I get a kURLPropertyChangedEvent event with
> the property kURLStatusString and the message "connecting to xxx..."
> This would all be fine but it stalls at this point, never moving past
> (no errors even). The only solution I thought is that my callback is not
> returning the required value. My callback always returns 0 as the docs
> requested, correct?. Yes, I do specify kURLAllEventsMask in URLOpen. ;)
_______________________________________________
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.

  • Prev by Date: URLOpen event callback
  • Next by Date: about IONetworkMedium
  • Previous by thread: URLOpen event callback
  • Next by thread: Re: URLOpen event callback
  • Index(es):
    • Date
    • Thread