Re: NSURL tunneling
Re: NSURL tunneling
- Subject: Re: NSURL tunneling
- From: John Stiles <email@hidden>
- Date: Sun, 20 Mar 2005 09:03:43 -0800
On Mar 20, 2005, at 8:57 AM, John wrote:
And my app hangs. I plug the same URL into Safari - nothing loads. I plug the URL into Firefox - it loads the data, and continues to do so as new data is received.
What am I doing wrong? I'm thinking it never loads the data because it is continuously loading. The data is just text, what would normally be output by a serial port.
A
synchronous load will never stop until the page is completely loaded (which will never happen, according to your description of the device).
You need asynchronous loading. Implement connectionWithRequest:delegate: and make a delegate class--this takes more work than your current code, but it's not rocket science. With luck that will give you positive results. Good luck :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden