Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample (“CocoaHTTPServer.zip”, 28.3K)
Download Sample (“CocoaHTTPServer.dmg”, 84.0K)



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