Member Login Log In | Not a Member? Contact ADC
Jump To:
Reference Library: Networking
Networking capabilities include support for the major protocols and services, as well as enhanced features provided by Mac OS X. Developers can use the networking APIs to provide sophisticated LAN, WAN, Internet, and web capabilities in Cocoa applications. These are accessible through sockets and Core Foundation, as well as through the higher-level Cocoa APIs.

View all Cocoa Reference Library.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Resource Type
Sorted by
Date
URL CacheInfo (HTML) (DMG) (ZIP)
Demonstrates resource caching behavior using the Cocoa URL loading system.
Sample Code 2008-06-05
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Technical Q&As 2008-06-03
Bonjour Printer Subtype for HTTP (HTML)
QA1555: Describes how printer vendors can register their bonjour service such that Safari can see them.
Technical Q&As 2008-03-25
NSURLCache Class Reference (HTML) (PDF)
Describes the class that manages cached responses and data from URL load requests.
Reference 2008-03-11
NSNetService Class Reference (HTML) (PDF)
Describes the class used to publish or consume a network service using multicast DNS.
Reference 2008-02-08
NSURLResponse Class Reference (HTML) (PDF)
Describes the class that encapsulates the response from a server to a URL load request.
Reference 2007-12-11
Don't forget to cancel your Bonjour resolve (HTML)
QA1297: Explains why it's important to cancel a Bonjour resolve operation.
Technical Q&As 2007-08-30
NSStream Class Reference (HTML) (PDF)
Describes the class for reading and writing data to and from memory, files, and network sockets in a device-independent way.
Reference 2007-07-23
Collaboration Reference Update (HTML) (PDF)
Summarizes the symbols added to the Collaboration framework.
Reference 2007-07-18
URL Loading System (HTML) (PDF)
Explains how to manipulate URLs and transfer URL contents.
Guides 2007-07-10
Distributed Objects Programming Topics (HTML) (PDF)
Explains how Objective-C objects in different threads or different processes communicate.
Guides 2007-06-06
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Sample Code 2007-06-01
CBGroupIdentity Class Reference (HTML) (PDF)
Describes the class for operating on user identities.
Reference 2007-05-14
CBIdentity Class Reference (HTML) (PDF)
Describes the class used to create and operate on identities.
Reference 2007-05-14
CBIdentityAuthority Class Reference (HTML) (PDF)
Describes the class used to manipulate identity authority databases.
Reference 2007-05-14
CBIdentityPicker Class Reference (HTML) (PDF)
Describes the class that manages the identity picker.
Reference 2007-05-14
CBUserIdentity Class Reference (HTML) (PDF)
Describes the class for operating on user identities.
Reference 2007-05-14
Collaboration Framework Reference (HTML) (PDF)
Describes the Objective-C API for monitoring and editing identities.
Reference 2007-05-14
Identity Services Reference Collection (HTML) (PDF)
Describes the APIs for using identities and the Identity Picker.
Reference 2007-05-14
NSInputStream Class Reference (HTML) (PDF)
Describes the class that implements a read-only stream.
Reference 2007-04-05
NSOutputStream Class Reference (HTML) (PDF)
Describes the class that implements a write-only stream.
Reference 2007-04-05
NSNetServiceBrowser Class Reference (HTML) (PDF)
Describes the class used to find published services on a network using multicast DNS.
Reference 2007-04-02
NSURLConnection Class Reference (HTML) (PDF)
Describes the class that provides support for retrieving data from a server in response to a URL load request.
Reference 2007-04-01
NSURLProtocol Class Reference (HTML) (PDF)
Describes the abstract class that is used by subclasses that provide custom protocol-specific loading of URL data.
Reference 2007-04-01
NSURLRequest Class Reference (HTML) (PDF)
Describes the class that encapsulates a URL load request.
Reference 2007-04-01
NSHost Class Reference (HTML) (PDF)
Describes the class used to get information about a network resource.
Reference 2007-03-24
NSSocketPortNameServer Class Reference (HTML) (PDF)
Describes the class for taking and returning instances of NSSocketPort.
Reference 2007-02-26
NSMessagePortNameServer Class Reference (HTML) (PDF)
Describes the class for taking and returning instances of NSMessagePort.
Reference 2007-02-23
NSURL Class Reference (HTML) (PDF)
Describes the class that encapsulates a URL.
Reference 2007-02-23
NSSocketPort Class Reference (HTML) (PDF)
Describes the class whose instances are used as socket endpoints for distributed object connections or raw messaging.
Reference 2007-01-30
Stream Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the Cocoa stream classes to read data from and write data to streams.
Guides 2006-10-03
NSURLClient Protocol Reference (HTML) (PDF)
Deprecated - Deprecated. Describes the informal protocol implemented by clients of an NSURLHandle download.
Reference 2006-08-01
NSCachedURLResponse Class Reference (HTML) (PDF)
Describes the class that encapsulates cached data and the server response for a URL load request.
Reference 2006-06-28
NSURLCredential Class Reference (HTML) (PDF)
Describes the class that encapsulates an authentication credential used with a URL load request.
Reference 2006-06-28
NSURLHandle Class Reference (HTML) (PDF)
Deprecated. Describes the class that provides support for downloading data from a URL.
Reference 2006-06-28
NSHTTPCookie Class Reference (HTML) (PDF)
Describes the class that encapsulates an HTTP cookie.
Reference 2006-05-23
NSHTTPCookieStorage Class Reference (HTML) (PDF)
Describes the class that manages the shared HTTP cookie storage.
Reference 2006-05-23
NSHTTPURLResponse Class Reference (HTML) (PDF)
Describes the class that encapsulates a response to an HTTP URL load request.
Reference 2006-05-23
NSMessagePort Class Reference (HTML) (PDF)
Describes the class whose instances are endpoints in local communication through distributed objects or raw messaging.
Reference 2006-05-23
NSMutableURLRequest Class Reference (HTML) (PDF)
Describes the class that encapsulates a mutable URL load request.
Reference 2006-05-23
NSURL Additions Reference (HTML) (PDF)
Describes the category that extends the NSURL class by adding support for pasteboards.
Reference 2006-05-23
NSURLAuthenticationChallenge Class Reference (HTML) (PDF)
Describes the class that encapsulates a challenge received from a server requiring authentication in response to a URL load request.
Reference 2006-05-23
NSURLAuthenticationChallengeSender Protocol Reference (HTML) (PDF)
Describes the protocol that the sender of an authentication challenge must implement.
Reference 2006-05-23
NSURLCredentialStorage Class Reference (HTML) (PDF)
Describes the class that manages credential storage for URL load requests.
Reference 2006-05-23
NSURLDownload Class Reference (HTML) (PDF)
Describes the class that provides support for downloading data from a server to a file for a URL load request.
Reference 2006-05-23
NSURLHandleClient Protocol Reference (HTML) (PDF)
Deprecated. Defines the protocol that must be implemented by clients of NSURLHandle.
Reference 2006-05-23
NSURLProtectionSpace Class Reference (HTML) (PDF)
Describes the class that encapsulates an area on a server that requires authentication for a URL load request.
Reference 2006-05-23
NSURLProtocolClient Protocol Reference (HTML) (PDF)
Describes the protocol used by NSURLProtocol subclasses to communicate with the URL loading system.
Reference 2006-05-23
NSNetServices and CFNetServices Programming Guide (HTML) (PDF)
Describes how to implement Bonjour in Cocoa or Carbon applications.
Guides 2005-11-09
Problems getting Bonjour TXT record information (HTML)
QA1389: Explains why you might have problems retrieving TXT record information from a CFNetServiceRef or NSNetService.
Technical Q&As 2005-07-06
AutoUpdater (HTML) (DMG) (ZIP)
This sample demonstrates Cocoa networking using the NSURL loading classes, NSURLConnection and NSURLDownload.
Sample Code 2005-06-01
CocoaHTTPServer (HTML) (DMG) (ZIP)
A Cocoa example showing how to write a very basic HTTP service.
Sample Code 2005-06-01
GridCalendar (HTML) (DMG) (ZIP)
Demonstrates how to add a custom job submission UI to the GridSample project.
Sample Code 2005-06-01
ImageClient (HTML) (DMG) (ZIP)
Demonstrates how to use CFNetwork for synchronous and asynchronous operations, network diagnostics, proxy navigation, and authentication.
Sample Code 2005-06-01
Resolves may return an IPv6 address in Panther (HTML)
QA1298: Explains why you get an IP address of 0.0.0.0 when resolving a Bonjour service.
Technical Q&As 2005-01-10
Bonjour enforces the TXT record format in Panther (HTML)
QA1306: Explains how mDNSResponder enforces the proper TXT record format in Panther.
Technical Q&As 2004-07-14
Updating the TXT record of a Bonjour service (HTML)
QA1302: Explains how to update a Bonjour TXT record while running on either Jaguar or Panther.
Technical Q&As 2004-07-14
Discovering all advertised Bonjour service types (HTML)
QA1337: Explains how to discover all Bonjour service types being advertised on the local network.
Technical Q&As 2004-06-01
Bonjour enforces the service type format in Panther (HTML)
QA1198: Explains why registering a Bonjour service might fail on Panther.
Technical Q&As 2004-03-23
Use the Computer Name when registering your Bonjour service (HTML)
QA1228: Explains why you should use the Computer Name when advertising a Bonjour service.
Technical Q&As 2004-03-05
Downloading through a proxy server in Mac OS X (HTML)
QA1296: Explains when downloading through a proxy server will work, and when it will fail.
Technical Q&As 2003-10-29
Bonjour TXT record rate limiting in Panther (HTML)
QA1293: Explains how mDNSResponder implements TXT record rate limiting in Panther.
Technical Q&As 2003-10-23
Bonjour and wake from sleep (HTML)
QA1290: Explains why applications that use Bonjour should stay registered and continue browsing on sleep.
Technical Q&As 2003-09-18
PPPoE Server for Testing (HTML) (日本語 HTML)
QA1252: Describes how to configure Mac OS X as a PPPoE server for testing purposes.
Technical Q&As 2003-04-11
NameAndAddress (HTML) (DMG) (ZIP)
A single window utility that gets a host name from an IP address or an IP address from a hostname.
Sample Code 2003-01-14
Allocate and Disk Full Error (HTML) (日本語 HTML)
FL12: Discusses a problem with AFP volumes displaying incorrect free space, and returning disk full errors.
Technical Q&As 1999-07-21
OTScheduleDeferredTask When Task Running (HTML) (日本語 HTML)
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Technical Q&As 1997-10-13
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Technical Q&As 1997-03-14
T_DATA_REQ vs M_DATA TPI Message Blocks (HTML) (日本語 HTML)
NW42: Explains why OT passes data to a TPI module using M_DATA message blocks instead of M_PROTO+T_DATA_REQ.
Technical Q&As 1996-10-25