• 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
Re: NSURLSession + Bonjour to do peer-to-peer file transfers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLSession + Bonjour to do peer-to-peer file transfers?


  • Subject: Re: NSURLSession + Bonjour to do peer-to-peer file transfers?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 26 Dec 2013 18:08:29 -0800

On Dec 25, 2013, at 7:26 AM, Eric Wing <email@hidden> wrote:

> So I was looking
> at NSURLSession because I assumed it used a standard protocol that
> would be easy to talk with on other platforms.

If your URLs start with “http:” then you’re using the HTTP protocol. But NSURL* classes support a variety of protocols, based on the scheme of the URL you supply. (It’s also possible to make FTP connections using “ftp:” URLs, and of course there’s “file:”. And you can register your own protocol handlers.)

—Jens
_______________________________________________

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


References: 
 >NSURLSession + Bonjour to do peer-to-peer file transfers? (From: Eric Wing <email@hidden>)

  • Prev by Date: Re: NSURLSession + Bonjour to do peer-to-peer file transfers?
  • Next by Date: Re: Creating NSButton in Code does not set controlTint to currentControlTint
  • Previous by thread: Re: NSURLSession + Bonjour to do peer-to-peer file transfers?
  • Next by thread: Customizing UIActivityViewController
  • Index(es):
    • Date
    • Thread