iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2009-09-16

Build Requirements: Xcode 3.2 or later, iPhone SDK 3.0 or later

Runtime Requirements: iPhone OS 3.0 or later

View Source Code:

Download Sample Code (“SimpleNetworkStreams.zip”, 85.3K)



Description

Shows how to do simple networking using the NSStream API. The goal of this sample is very limited: it does not demonstrate everything you need to implement a fully fledged networking product, rather, it focuses on using the NSStream API to move a realistic amount of data across the network.

Document Revision History

Date Notes
2009-09-16Updated to bring the code and user interface in line with other related samples.
2009-06-23Demonstrates networking using the NSStream API.
Did this document help you? Yes It's good, but... Not helpful...