Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample Code (“CocoaHTTPServer.zip”, 27.1K)



Description

This example demonstrates a basic HTTP service. It shows how to publish your HTTP service on Bonjour so Safari can browse it using the Bonjour tab as well as asynchronous reading and writing of information from and to NSStreams.

Document Revision History

Date Notes
2005-06-01A Cocoa example showing how to write a very basic HTTP service.
Did this document help you? Yes It's good, but... Not helpful...