Version: 1.2

Posted: 2009-06-04

Build Requirements: Xcode 3.2 or later

Runtime Requirements: Mac OS X v10.6 or later

View Source Code:

Download Sample Code (“PictureSharingBrowser.zip”, 24.6K)



Description

This sample demonstrates how to use NSNetServices to take advantage of Bonjour service discovery and name resolution on Mac OS X. When used in conjunction with the PictureSharing sample, this sample shows how to browse for services being advertised by PictureSharing servers, and then shows how to connect and download the picture being shared.

Document Revision History

Date Notes
2009-06-04Base SDK changed to 10.6.
2005-02-08Upgraded project to use native Xcode target and fixed socket leak by releasing the NSFileHandle when file transfer is finshed.
2003-02-17Demonstrates how to use NSNetServices to take advantage of Bonjour service discovery and name resolution.