Re: URLOpen event callback
Re: URLOpen event callback
- Subject: Re: URLOpen event callback
- From: Ryan Joseph <email@hidden>
- Date: Wed, 04 Jun 2003 11:39:35 -0600
I actually just did a test with a file:/// url and the same thing happens, except the status string returns a "downloading..." message. Can anyone familiar with this API give any reasons as to why it would stall like this with no explanation.
Btw, I'm running on OS X, do I need to do anything as a prerequisite? thanks.
Message: 1
Date: Mon, 02 Jun 2003 19:14:21 +1000
From: Richard <email@hidden>
Reply-To: email@hidden
Organization: Faraday R&D
To: email@hidden
Subject: URLOpen event callback
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.