• 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
distributed objects and NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: distributed objects and NSURLConnection
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Validity of a path
  • Next by Date: Re: distributed objects and NSURLConnection
  • Previous by thread: Re: Encoding NSUInteger
  • Next by thread: Re: distributed objects and NSURLConnection
  • Index(es):
    • Date
    • Thread