Re: NSURLSession + Bonjour to do peer-to-peer file transfers?
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