Version: 1.1

Posted: 2005-02-08

Build Requirements: Xcode 1.0 or later

Runtime Requirements: Mac OS X 10.2 or later

View Source Code:

Download Sample (“PictureSharingBrowser.zip”, 51.0K)
Download Sample (“PictureSharingBrowser.dmg”, 97.1K)



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
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.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.