distributed objects and NSURLConnection
distributed objects and NSURLConnection
- Subject: distributed objects and NSURLConnection
- From: "Michael Hanna" <email@hidden>
- Date: Sun, 6 Jan 2008 16:15:29 -0800
I'd like to take an array of URLs pointing to jpegs and asynchronously
download them. I thought DO would be perfect for this: create an array
of servers where each have an NSURLConnection, then they return the
chunk of data back to the client.
I have set-up the client and the server(with the help of the Advanced
Mac OS X Programming book) and can call the server but I've run into a
problem where the NSURL I create in the server is null on
initialization. Also, creating an NSURLConnection object causes a
crash(appears to be EXC_BAD_ACCESS but it's hard to be sure because
'po' in the debugger gives me back nothing. Perhaps there is a basic
design flaw with this idea?
I've included a link to my project, requires 10.4. Would be very
grateful on some suggestions. I put the word FIXME: in the code where
I'm having issues(just to assist you in finding the problem, not
assuming or expecting you to do all my work :) )
Michael
http://www.sendspace.com/file/gwt7cd
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden