Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample Code (“CocoaEcho.zip”, 61.6K)



Description

This sample code shows you how to write a basic echo client/server pair. It demonstrates how to make services available on both IPv4 and IPv6 endpoints, publishing the services using Bonjour, and how to respond to network events asynchronously.

Document Revision History

Date Notes
2005-06-01Cocoa example code showing how to write a simple client and server using NSStream.