Jump To:
Leopard Reference Library
Networking capabilities in Mac OS X include support for the major protocols and services. Developers can gain access to them through sockets and Core Services, as well as through the higher-level Carbon and Cocoa APIs.

Provides a guided introduction to developing network-capable applications for Mac OS X.   Essential information for developers using Apple's networking environment.   API references organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Topic
Sort by
Resource Type
Sorted by
Date
CFNetwork Programming Guide (HTML) (PDF)
Explains how to use Core Foundation networking functions to work with low-level BSD sockets.
Core Foundation, General, Security Guides 2009-05-06
Stream Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the Cocoa stream classes to read data from and write data to streams.
Cocoa Guides 2009-05-06
NSNetService Class Reference (HTML) (PDF)
Describes a network service that an application publishes or uses as a client.
Cocoa Reference 2009-04-08
NSNetServiceBrowser Class Reference (HTML) (PDF)
Describes a query for published network services.
Cocoa Reference 2009-04-08
Network Kernel Extensions Programming Guide (HTML) (PDF)
Describes how to write a kernel extension for adding or modifying functionality of a networking stack (Mac OS X 10.4 and later).
Darwin, Hardware & Drivers Guides 2009-03-02
Extending and Troubleshooting Directory Services (HTML)
Explains how to extend Directory Services for Mac OS X Server v10.5 and how to troubleshoot problems.
Mac OS X Server Release Notes 2009-02-04
NSURL Class Reference (HTML) (PDF)
Describes a string that uniquely identifies a resource.
Cocoa Reference 2009-02-04
NSURLHandle Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by the NSURLDownload class.
Cocoa Reference 2009-02-04
NSOutputStream Class Reference (HTML) (PDF)
Describes a write-only data stream.
Cocoa Reference 2009-01-06
Safari User Guide for Web Developers (HTML) (PDF)
Describes the developer tools built into Safari for analyzing, testing, and debugging HTML, JavaScript, style sheets, and DOM structure.
Internet & Web Guides 2009-01-06
Web Services Core Programming Guide (HTML) (PDF)
Explains how to use the new Web Services client-side frameworks available in Mac OS X.
Internet & Web Guides 2009-01-06
Code Signing Guide (HTML) (PDF)
Explains how you can sign your code and why you should.
Security Guides 2008-11-19
NSHTTPCookie Class Reference (HTML) (PDF)
Describes an opaque set of data that represents state or configuration.
Cocoa Reference 2008-11-13
Kernel Core Dumps (HTML)
TN2118: Explains how to gather and use remote kernel core dumps.
Hardware & Drivers Technical Notes 2008-11-12
CFNetwork Error Codes Reference (HTML) (PDF)
Describes error codes used by the CFNetwork API.
Core Foundation Reference 2008-10-15
DNS Service Discovery Java Reference (HTML)
Describes DNS Service Discovery API features of ZeroConf networking for Java on Mac OS X in Javadoc format.
Bonjour Reference 2008-10-15
Identity Services Programming Guide (HTML) (PDF)
Explains how identities work and how to use them in applications.
Core Foundation, Security Guides 2008-10-15
NSNetServices and CFNetServices Programming Guide (HTML) (PDF)
Describes how to implement Bonjour in Cocoa or Carbon applications.
Bonjour, Cocoa Guides 2008-10-15
NSSocketPort Class Reference (HTML) (PDF)
Describes a BSD socket for distributed object connections or raw messaging.
Cocoa Reference 2008-10-15
NSStream Class Reference (HTML) (PDF)
Describes an interface for reading and writing data.
Cocoa Reference 2008-10-15
Security Overview (HTML) (PDF)
An introduction to computer security concepts and the security APIs in Mac OS X and iPhone OS.
Security Guides 2008-10-15
Generating a Non-Maskable Interrupt (NMI) (HTML) (日本語 HTML)
QA1264: Explains how to generate a non-maskable interrupt (NMI) on modern Macintosh systems.
Hardware & Drivers Technical Q&As 2008-10-13
Retain Counts of io_object_t Objects in IOKit.framework (HTML) (日本語 HTML)
QA1195: Distinguishes between the retain counts of an I/O Kit kernel object and its io_object_t user space proxy.
Printing Technical Q&As 2008-09-24
IODeviceTree and the I/O Registry (HTML) (日本語 HTML)
QA1120: Describes the IODeviceTree plane in the Mac OS X I/O Registry.
Hardware & Drivers Technical Q&As 2008-09-18
PortMapper (HTML) (DMG) (ZIP)
Demonstrates Bonjour's NAT port-mapping API, and provides a higher-level Objective-C interface to it.
Bonjour Sample Code 2008-07-25
CFNetwork Reference Collection (HTML) (PDF)
Describes the C APIs for performing a variety network tasks.
Carbon, General Reference 2008-07-15
CFFTPStream Reference (HTML) (PDF)
Describes the C API for communicating with FTP servers.
Core Foundation Reference 2008-07-11
CFHost Reference (HTML) (PDF)
Describes the C API for acquiring host information.
Core Foundation Reference 2008-07-11
CFHTTPMessage Reference (HTML) (PDF)
Describes the C API for creating, sending, receiving and manipulating HTTP messages.
Core Foundation Reference 2008-07-11
CFNetDiagnostics Reference (HTML) (PDF)
Describes the C API for diagnosing and fixing network related problems.
Core Foundation Reference 2008-07-11
CFHTTPStream Reference (HTML) (PDF)
Describes the interface for working with HTTP connections.
Core Foundation Reference 2008-07-08
CFNetServices Reference (HTML) (PDF)
Describes the C API for implementing Bonjour functionality in an application.
Core Foundation Reference 2008-07-08
CFStream Socket Additions (HTML) (PDF)
Describes the C API for using streams with sockets.
Core Foundation Reference 2008-07-08
CFProxySupport Reference (HTML) (PDF)
Describes the CFProxySupport API, which provides functions for managing network proxy information.
Core Foundation Reference 2008-07-07
Mac OS X Security Configuration Guide (PDF)
Describes how to configure Mac OS X to enhance security.
Security Guides 2008-06-09
Mac OS X Server Network Services Administration (PDF)
Explains how to set up, configure, and administer DHCP, DNS, VPN, NTP, IP firewall, and NAT services on the server.
Mac OS X Server Guides 2008-06-09
Mac OS X Server Podcast Producer Workflow Tutorial (PDF)
Explains how to develop and customize Podcast Producer workflows.
Mac OS X Server Guides 2008-06-09
Mac OS X Server Security Configuration Guide (PDF)
Describes how to configure Mac OS X Server to enhance server and service security.
Mac OS X Server, Security Guides 2008-06-09
URL CacheInfo (HTML) (DMG) (ZIP)
Demonstrates resource caching behavior using the Cocoa URL loading system.
Cocoa, Internet & Web Sample Code 2008-06-05
Kerberos GSS (HTML) (DMG) (ZIP)
Kerberos GSS-API Sample
Security Sample Code 2008-06-04
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
AirPort/802.11, Bonjour, Carbon, Cocoa, Core Foundation, Darwin, Hardware & Drivers, Internet & Web, Mac OS X Server, Printing, Security Technical Q&As 2008-06-03
URL Loading System (HTML) (PDF)
Explains how to manipulate URLs and transfer URL contents.
Cocoa Guides 2008-05-06
NSCachedURLResponse Class Reference (HTML) (PDF)
Describes a cached response to a URL load request.
Cocoa Reference 2008-05-02
DNS Service Discovery C Reference (HTML)
Describes the DNS Service Discovery API for implementing Bonjour in an application.
Bonjour, General Reference 2008-04-23
Core Services Identity Reference (HTML)
Describes the C API for creating, maintaining and finding users and groups.
Core Foundation, Security Reference 2008-04-08
Darwin Notification API Reference (HTML)
Describes the Darwin API for interprocess notification.
Darwin Reference 2008-04-08
Directory Service Framework Reference (HTML)
Describes the Directory Service Framework.
General, Mac OS X Server Reference 2008-04-08
Publication Subscription Framework Reference (HTML)
Describes the Cocoa framework for publishing and subscribing to RSS and Atom feeds.
Internet & Web Reference 2008-04-08
System Configuration Framework Reference (HTML)
Describes the API for configuration of network resources, the reachability of target hosts, and connection to network services.
Darwin, General Reference 2008-04-08
Bonjour Printer Subtype for HTTP (HTML)
QA1555: Describes how printer vendors can register their bonjour service such that Safari can see them.
Carbon, Cocoa, Core Foundation, Darwin Technical Q&As 2008-03-25
CryptNoMore (HTML) (DMG) (ZIP)
Shows how to authenticate a user using Open Directory (Directory Services).
Security Sample Code 2008-03-17
Network Device Driver Programming Guide (HTML) (PDF)
Background and task information about developing network drivers for Mac OS X.
Hardware & Drivers Guides 2008-03-11
NSURLCache Class Reference (HTML) (PDF)
Describes a collection of cached responses and data.
Cocoa Reference 2008-03-11
Embedding Bonjour in Windows Applications (HTML)
TN2210: Details the proper steps necessary for a Windows Developer to include Bonjour for Windows in their application.
Bonjour Technical Notes 2008-01-17
Mac OS X Server Command-Line Administration (PDF)
Explains how to use commands and configuration files to perform server administration tasks in a UNIX command shell.
Mac OS X Server Guides 2007-12-11
NSURLResponse Class Reference (HTML) (PDF)
Describes the metadata returned by a server for a load request.
Cocoa Reference 2007-12-11
Apple Remote Desktop Administrator's Guide Version 3.2 (PDF)
Explains how to install and configure Apple Remote Desktop and use it to remotely control and manage client computers.
Mac OS X Server Guides 2007-12-04
CCL Modem Scripting Release Notes (HTML)
Explains changes to modem CCLs for Mac OS X v10.5 and what to do to change existing and supersede older scripts.
Hardware & Drivers Release Notes 2007-10-31
CFNetwork Framework Release Notes (HTML)
General, Security Release Notes 2007-10-31
Code Signing Release Notes (HTML)
Security Release Notes 2007-10-31
Core Services Framework Reference (HTML) (PDF)
Describes the API for many fundamental operating system services.
General Reference 2007-10-31
Mac OS X Server Podcast Producer Administration (PDF)
Explains how to set up and manage Podcast Producer service to record, process, and distribute podcasts.
Mac OS X Server Guides 2007-10-31
Mac OS X Server System Image and Software Update Administration (PDF)
Explains how to use network-resident startup disks and how to set up a software update server.
Mac OS X Server Guides 2007-10-31
Mac OS X Server Xgrid Administration and High Performance Computing (PDF)
Explains how to set up and manage computational clusters of Xserve systems and Mac computers.
Mac OS X Server Guides 2007-10-31
OS Services Framework Release Notes (HTML)
Carbon Release Notes 2007-10-31
CFProxySupportTool (HTML) (DMG) (ZIP)
Shows how to use the CFProxySupport APIs to decide whether a network connection should pass through a proxy.
Core Foundation, Darwin Sample Code 2007-10-29
Descriptor Passing Problems (HTML)
QA1541: Describes how to work around common problems with descriptor passing.
Darwin Technical Q&As 2007-10-29
Leopard Technology Series for Developers: OS Foundations (HTML)
Leopard Overview article on system-level updates.
Bonjour Articles 2007-09-04
Don't forget to cancel your Bonjour resolve (HTML)
QA1297: Explains why it's important to cancel a Bonjour resolve operation.
Bonjour, Carbon, Cocoa Technical Q&As 2007-08-30
Collaboration Reference Update (HTML) (PDF)
Summarizes the symbols added to the Collaboration framework.
Cocoa Release Notes 2007-07-18
System Configuration Reference Update (HTML) (PDF)
Summarizes the symbols added to the System Configuration framework.
Darwin Release Notes 2007-07-18
CCL Modem Scripting Guide (HTML) (PDF)
Darwin, Hardware & Drivers Guides 2007-06-28
Directory Services for Mac OS X Server v10.5 Release Notes (HTML)
Describes updates, changes, and workarounds for Directory Services for Mac OS X Server v10.5
Mac OS X Server Release Notes 2007-06-08
MoreSCF (HTML) (DMG) (ZIP)
High-level wrapper around System Configuration framework, making common operations easy.
Darwin Sample Code 2007-06-07
Distributed Objects Programming Topics (HTML) (PDF)
Explains how Objective-C objects in different threads or different processes communicate.
Cocoa Guides 2007-06-06
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Cocoa, Internet & Web Sample Code 2007-06-01
Mac OS X Server Administrator Topics (HTML) (PDF)
Document that describes a variety of server administrator advanced operations.
Mac OS X Server Guides 2007-05-23
CFHTTPAuthentication Reference (HTML) (PDF)
Describes the C API for applying authentication credentials to HTTP messages.
Core Foundation Reference 2007-05-15
CBGroupIdentity Class Reference (HTML) (PDF)
Describes the class for operating on user identities.
Cocoa, Security Reference 2007-05-14
CBIdentity Class Reference (HTML) (PDF)
Describes the class used to create and operate on identities.
Cocoa, Security Reference 2007-05-14
CBIdentityAuthority Class Reference (HTML) (PDF)
Describes the class used to manipulate identity authority databases.
Cocoa, Security Reference 2007-05-14
CBIdentityPicker Class Reference (HTML) (PDF)
Describes the class that manages the identity picker.
Cocoa, Security Reference 2007-05-14
CBUserIdentity Class Reference (HTML) (PDF)
Describes the class for operating on user identities.
Cocoa, Security Reference 2007-05-14
Collaboration Framework Reference (HTML) (PDF)
Describes the Objective-C API for monitoring and editing identities.
Cocoa, Security Reference 2007-05-14
Identity Services Reference Collection (HTML) (PDF)
Describes the APIs for using identities and the Identity Picker.
Cocoa, Core Foundation, Security Reference 2007-05-14
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Internet & Web Sample Code 2007-05-09
CFStream Reference (HTML) (PDF)
Describes the interface for creating streams.
Core Foundation Reference 2007-05-03
Directory Service Reference Update (HTML) (PDF)
Summarizes the symbols added to the Directory Service framework.
Mac OS X Server Release Notes 2007-05-02
NSInputStream Class Reference (HTML) (PDF)
Describes a read-only data stream.
Cocoa Reference 2007-04-05
NSURLConnection Class Reference (HTML) (PDF)
Describes the class that provides support for retrieving data from a server in response to a URL load request.
Cocoa Reference 2007-04-01
NSURLProtocol Class Reference (HTML) (PDF)
Describes the interface for protocol-specific loading of URL data.
Cocoa Reference 2007-04-01
NSURLRequest Class Reference (HTML) (PDF)
Describes a request for a resource identified by a URL.
Cocoa Reference 2007-04-01
NSHost Class Reference (HTML) (PDF)
Describes a representation of a network host.
Cocoa Reference 2007-03-24
Using the Web Services Core Framework and CFNetwork to Access Remote SOAP Services (HTML)
Learn how to access remote SOAP-based web services that require HTTP Basic or Digest authentication.
Internet & Web Articles 2007-03-07
Availability of Quartz Composer Patches in Web Kit (HTML)
QA1505: Details which Quartz Composer patches are available in Web Kit
Internet & Web Technical Q&As 2007-03-05
NSSocketPortNameServer Class Reference (HTML) (PDF)
Describes a registrar of named TCP/IP sockets.
Cocoa Reference 2007-02-26
NSMessagePortNameServer Class Reference (HTML) (PDF)
Describes a facility that accepts and returns message ports.
Cocoa Reference 2007-02-23
Advertising a Bonjour service on a specific set of networking interfaces. (HTML)
QA1513: Explains how to register a Bonjour service only on a specific set of networking interfaces.
Bonjour Technical Q&As 2007-02-12
Open Directory Programming Guide (HTML) (PDF)
Explains how to implement centralized storage and retrieval of information in Carbon.
Darwin, Mac OS X Server Guides 2007-01-08
tcplognke (HTML) (DMG) (ZIP)
Demonstrates a TCP socket filter based on supported Kernel Programming Interfaces for Tiger
Hardware & Drivers Sample Code 2006-11-27
Security Framework Error Codes (HTML)
QA1499: Explains how to interpret errors returned by the Security Framework with an overview of Security error handling.
Security Technical Q&As 2006-11-16
CFFTPSample (HTML) (DMG) (ZIP)
A simple example showing how to use CFFTPStream to download and upload files.
Core Foundation Sample Code 2006-10-13
Network Kernel Extensions (legacy) (HTML) (PDF)
Describes how to write a kernel extension for adding or modifying functionality of a networking stack (Mac OS X 10.3 and earlier).
Darwin, Hardware & Drivers Guides 2006-10-03
The state of mDNSResponder (HTML)
QA1339: Explains how to obtain information regarding the internal state of mDNSResponder.
Bonjour, Darwin, Hardware & Drivers Technical Q&As 2006-10-03
Apple Remote Desktop Focus on Task Server (PDF)
Explains how to use Task Server to provide always-on, automated administration of client computers.
Mac OS X Server Guides 2006-08-07
Smart Card Setup Guide (PDF)
Explains how to configure Mac OS X version 10.4 to use smart cards.
Security Guides 2006-08-07
NSURLClient Protocol Reference (HTML) (PDF)
Deprecated - Describes the deprecated class replaced by the classes NSURLConnection and NSURLDownload.
Cocoa Reference 2006-08-01
IdentitySample (HTML) (DMG) (ZIP)
IdentitySample builds a utility which demonstrates how to use the CoreServices Identity API to manage system-wide identities
Core Foundation Sample Code 2006-07-27
Deploying Mac OS X Computers for K-12 Education (PDF)
Explains how to configure and deploy Mac OS X Server and Mac OS X computers for K-12 education.
Mac OS X Server Guides 2006-07-24
KPI Reference (HTML)
Provides information on the NKE Sustainable API in Headerdoc format.
Darwin Reference 2006-07-17
URL Access Manager Reference (HTML) (PDF)
Deprecated - Describes the legacy C API for transferring data to and from a URL from within an application. Replaced by CFNetwork.
Carbon, Internet & Web Reference 2006-07-13
NSURLCredential Class Reference (HTML) (PDF)
Describes a credential used to authenticate a URL load request.
Cocoa Reference 2006-06-28
Apple Filing Protocol Reference (HTML) (PDF)
Describes the Apple Filing Protocol commands.
Darwin, Mac OS X Server Reference 2006-05-23
Bonjour Overview (HTML) (PDF)
Explains how to use Apple's zero-configuration networking architecture in Cocoa applications.
Bonjour Guides 2006-05-23
Network Services Location Manager (Legacy) (HTML) (PDF)
Deprecated - Explains how to have a Carbon application discover available network services.
Carbon Guides 2006-05-23
NSHTTPCookieStorage Class Reference (HTML) (PDF)
Describes a collection of cookies shared across all applications.
Cocoa Reference 2006-05-23
NSHTTPURLResponse Class Reference (HTML) (PDF)
Describes a response to an HTTP request.
Cocoa Reference 2006-05-23
NSMessagePort Class Reference (HTML) (PDF)
Describes an endpoint for distributed object connections or interprocess messaging.
Cocoa Reference 2006-05-23
NSMutableURLRequest Class Reference (HTML) (PDF)
Describes a mutable request for a resource identified by a URL.
Cocoa Reference 2006-05-23
NSURL Additions Reference (HTML) (PDF)
Describes additions to support pasteboards.
Cocoa Reference 2006-05-23
NSURLAuthenticationChallenge Class Reference (HTML) (PDF)
Describes a challenge from a server requiring authentication from the client.
Cocoa Reference 2006-05-23
NSURLAuthenticationChallengeSender Protocol Reference (HTML) (PDF)
Describes the interface for receiving authentication challenges.
Cocoa Reference 2006-05-23
NSURLCredentialStorage Class Reference (HTML) (PDF)
Describes a mapping of credentials to their corresponding protection spaces.
Cocoa Reference 2006-05-23
NSURLDownload Class Reference (HTML) (PDF)
Describes a connection used to download data to a file.
Cocoa Reference 2006-05-23
NSURLHandleClient Protocol Reference (HTML) (PDF)
Describes a deprecated technology replaced by the NSURLDownload class.
Cocoa Reference 2006-05-23
NSURLProtectionSpace Class Reference (HTML) (PDF)
Describes an area on a server that requires authentication of URL load requests.
Cocoa Reference 2006-05-23
NSURLProtocolClient Protocol Reference (HTML) (PDF)
Describes the interface used by protocol objects to communicate with the URL loading system.
Cocoa Reference 2006-05-23
Open Directory Plug-in Programming Guide (HTML) (PDF)
Explains how to implement dynamically loaded libraries that respond to Open Directory client requests in Carbon.
Darwin, Mac OS X Server Guides 2006-05-23
Open Directory Reference (HTML) (PDF)
Describes the Carbon API for using Open Directory.
Darwin, Mac OS X Server Reference 2006-05-23
Xsan Programming Guide (HTML) (PDF)
Describes managing files and storage pools with Xsan.
Mac OS X Server Guides 2006-05-23
Xsan Reference (HTML) (PDF)
Describes the Xsan API commands.
Mac OS X Server Reference 2006-05-23
Uniquely Identifying a Macintosh Computer (HTML) (日本語 HTML)
TN1103: How to identify a specific Macintosh computer.
Hardware & Drivers, Security Technical Notes 2006-04-25
Apple Filing Protocol Programming Guide (HTML) (PDF)
Describes high-level concepts for Apple Filing Protocol commands.
Darwin, Mac OS X Server Guides 2006-04-04
The "packages" node in the device tree (HTML)
HW90: Describes the "packages" node in the Open Firmware device tree.
Hardware & Drivers Technical Q&As 2006-02-22
System Configuration Programming Guidelines (HTML) (PDF)
Explains how to use system configuration services for network configuration and management, including determining reachability and getting connected.
Darwin, General Guides 2006-02-07
CFNetworkHTTPDownload (HTML) (DMG) (ZIP)
Demonstrates how to download a URL using CFNetworking.
Carbon, Core Foundation Sample Code 2006-01-18
DNS Service Discovery Programming Guide (HTML) (PDF)
Explains how to use DNS Service Discovery in your application.
Bonjour Guides 2005-11-09
GetPrimaryMACAddress (HTML) (DMG) (ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
Darwin, Mac OS X Server, Security Sample Code 2005-10-27
enetlognke (HTML) (DMG) (ZIP)
Interface filter based on supported Kernel Programming Interfaces for Tiger.
Hardware & Drivers Sample Code 2005-08-10
SocketCancel (HTML) (DMG) (ZIP)
Shows how to safely cancel threads that are blocked within BSD sockets calls.
Darwin Sample Code 2005-08-10
SimpleDial (HTML) (DMG) (ZIP)
Demonstrates management of dialup connections, such as PPP, using System Configuration framework network connection API.
Core Foundation, Darwin Sample Code 2005-07-26
SimpleReach (HTML) (DMG) (ZIP)
Demonstrates network host reachability testing using the System Configuration framework asynchronous network reachability API.
Core Foundation, Darwin Sample Code 2005-07-26
Open Transport Reference (HTML) (PDF)
Describes the Carbon compatibility library for accessing TCP/IP networks at the transport level.
Carbon Reference 2005-07-07
Mixing link-local IP addresses and routable IP addresses (HTML)
QA1357: Explains how to enable communication between devices with link-local addresses and devices with routable addresses.
Bonjour, Darwin, Hardware & Drivers, Printing Technical Q&As 2005-07-06
Problems getting Bonjour TXT record information (HTML)
QA1389: Explains why you might have problems retrieving TXT record information from a CFNetServiceRef or NSNetService.
Bonjour, Carbon, Cocoa, Core Foundation Technical Q&As 2005-07-06
AutoUpdater (HTML) (DMG) (ZIP)
This sample demonstrates Cocoa networking using the NSURL loading classes, NSURLConnection and NSURLDownload.
Cocoa Sample Code 2005-06-01
CocoaHTTPServer (HTML) (DMG) (ZIP)
A Cocoa example showing how to write a very basic HTTP service.
Cocoa Sample Code 2005-06-01
DNSServiceMetaQuery (HTML) (DMG) (ZIP)
Shows how to discover Bonjour service types being advertised on the local network.
Bonjour, Core Foundation, Darwin Sample Code 2005-06-01
GridCalendar (HTML) (DMG) (ZIP)
Demonstrates how to add a custom job submission UI to the GridSample project.
Cocoa 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.
Carbon, Cocoa, Core Foundation Sample Code 2005-06-01
DNSServiceDiscovery Mach-Based API (HTML) (PDF)
Deprecated.
Bonjour Guides 2005-04-29
Mac OS X Server High Availability Administration (PDF)
Explains how to manage IP failover, link aggregation, and load balancing to ensure high availability of services.
Mac OS X Server Guides 2005-04-29
Accessing SQL Data in Apple Remote Desktop 2 (HTML)
Learn how to access the PostgreSQL database to help create custom applications.
Mac OS X Server Articles 2005-02-21
DockBrowser (HTML) (DMG) (ZIP)
Demonstrates how to use CFNetServices to take advantage of Bonjour service discovery and name resolution.
Bonjour Sample Code 2005-02-08
PictureSharing (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to advertise a service using Bonjour.
Bonjour Sample Code 2005-02-08
PictureSharingBrowser (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to take advantage of Bonjour service discovery and name resolution.
Bonjour Sample Code 2005-02-08
Configuring and Running X11 Applications on Mac OS X (HTML)
Learn to set up and use X11 applications on your Mac OS X system.
Internet & Web Articles 2005-01-17
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.
Bonjour, Carbon, Cocoa, Core Foundation Technical Q&As 2005-01-10
Sending an Email (HTML)
QA1084: Shows how to create an email in the user's prefered email application.
Internet & Web Technical Q&As 2004-11-05
Using Open Source Tools to Filter Email on Mac OS X Server (HTML)
Learn how to identify, filter, and remove viruses from the Postfix mail server.
Internet & Web, Mac OS X Server, Security Articles 2004-09-27
Writing Open Directory Plug-ins (HTML)
Learn how to write Open Directory plug-ins to help your application locate and manage network information.
Darwin, Mac OS X Server Articles 2004-09-13
Secure Transport Reference (HTML) (PDF)
Describes the C API for creating a Secure Sockets Layer session over any transport layer.
Security Reference 2004-08-31
Bonjour enforces the TXT record format in Panther (HTML)
QA1306: Explains how mDNSResponder enforces the proper TXT record format in Panther.
Bonjour, Carbon, Cocoa, Core Foundation, Darwin Technical Q&As 2004-07-14
Bonjour service types used in Mac OS X (HTML)
QA1312: Provides a list of common Bonjour service types used in Mac OS X.
Bonjour 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.
Bonjour, Carbon, Cocoa, Core Foundation, Darwin 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.
Bonjour, Carbon, Cocoa, Core Foundation, Darwin, Hardware & Drivers Technical Q&As 2004-06-01
CFHostSample (HTML) (DMG) (ZIP)
Uses the CFHost API to do DNS hostname lookups and to determine host reachability.
Carbon, Core Foundation Sample Code 2004-04-20
Bonjour enforces the service type format in Panther (HTML)
QA1198: Explains why registering a Bonjour service might fail on Panther.
Bonjour, Carbon, Cocoa 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.
Bonjour, Carbon, Cocoa Technical Q&As 2004-03-05
Clearing mDNSResponder's cached records (HTML)
QA1310: Clearing the Bonjour service cache (mDNSResponder's cached records) for testing purposes.
Bonjour Technical Q&As 2004-02-11
Duplicate Bonjour services while browsing (HTML)
QA1333: Explains how to work with multiple network interfaces when browsing for Bonjour services.
Bonjour Technical Q&As 2004-02-06
Use empty string for Bonjour domains (HTML)
QA1331: Explains what to specify for the domain parameter when using Bonjour API's.
Bonjour Technical Q&As 2004-02-06
Creating Secure Transactions on Mac OS X Server with SSL (HTML)
Learn how to provide a layer of public-key encryption over any TCP connection.
Internet & Web, Mac OS X Server, Security Articles 2004-01-12
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.
Carbon, Cocoa, Core Foundation Technical Q&As 2003-10-29
URL Access vs. CFNetwork (HTML)
QA1291: Explains when to choose URL Access or CFNetwork when downloading files from within your application.
Carbon Technical Q&As 2003-10-29
Installing an I/O Kit KEXT Without Rebooting (HTML)
QA1319: Describes the state of the art of installing I/O Kit kernel extensions (KEXTs) without requiring a restart.
Hardware & Drivers Technical Q&As 2003-10-28
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Carbon, Darwin, Security Sample Code 2003-10-27
SimplePing (HTML) (DMG) (ZIP)
Sample provides simple API to programatically ping a remote host without admin privileges
Darwin, Internet & Web Sample Code 2003-10-27
Bonjour TXT record rate limiting in Panther (HTML)
QA1293: Explains how mDNSResponder implements TXT record rate limiting in Panther.
Bonjour, Carbon, Cocoa Technical Q&As 2003-10-23
Registering a Bonjour service multiple times (HTML)
QA1311: Explains why registering the same Bonjour service twice on the same machine doesn't cause a name conflict.
Bonjour 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.
Bonjour, Carbon, Cocoa Technical Q&As 2003-09-18
NSL and how it relates to Bonjour (HTML)
QA1299: Explains the relationship between NSL and Bonjour.
Bonjour Technical Q&As 2003-09-18
OTEndpointInfo (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to query an endpoint for its 'vital statistic' using OTGetEndpointInfo.
Carbon Sample Code 2003-08-20
Optimizing an Xserve for Web Hosting (HTML)
Learn how to configure and optimize an Xserve to ensure fast, robust web hosting.
Internet & Web, Mac OS X Server Articles 2003-08-06
OTMP (HTML) (DMG) (ZIP)
Deprecated - A library for calling Open Transport synchronously from preemptively scheduled tasks (MP tasks).
Carbon Sample Code 2003-07-22
OTPingSample (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to implement ping on top of the Open Transport API.
Carbon Sample Code 2003-07-22
BSDLLCTest (HTML) (DMG) (ZIP)
Program sample demonstrates how to send and receive raw LLC Ethernet packets.
Carbon, Hardware & Drivers Sample Code 2003-06-12
QISA (HTML) (DMG) (ZIP)
Demonstrates the basics of writing an Internet setup assistant for traditional Mac OS and Mac OS X.
Carbon, Darwin Sample Code 2003-05-15
Internet Config Reference (HTML) (PDF)
Describes the legacy technology for managing Internet preferences in Classic Mac OS.
Carbon Reference 2003-05-01
PPPoE Server for Testing (HTML) (日本語 HTML)
QA1252: Describes how to configure Mac OS X as a PPPoE server for testing purposes.
Carbon, Cocoa Technical Q&As 2003-04-11
Internet Connect Speed (HTML) (日本語 HTML)
QA1165: Describes how to get the modem connection speed from the System Configuration framework dynamic store.
Carbon, Internet & Web Technical Q&As 2003-03-26
Accessing HTTPS Proxy Settings (HTML) (日本語 HTML)
QA1234: Describes how to programatically access Secure Web Proxy information.
Carbon, Mac OS X Server Technical Q&As 2003-02-19
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Carbon Sample Code 2003-01-30
GetHWEthernetAddr (HTML) (DMG) (ZIP)
Deprecated - Shows how to obtain the hardware Ethernet address of a machine.
Hardware & Drivers Sample Code 2003-01-14
GetMACAddressSample (HTML) (DMG) (ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
Darwin, Mac OS X Server, Security Sample Code 2003-01-14
GetSetOptions (HTML) (DMG) (ZIP)
Demonstrates a variety of uses of Open Transport's option management routines.
Carbon, Hardware & Drivers, Mac OS X Server Sample Code 2003-01-14
ListMania (HTML) (DMG) (ZIP)
Demonstrates a variety of techniques for using Open Transport's list utility routines.
Carbon, Hardware & Drivers Sample Code 2003-01-14
NameAndAddress (HTML) (DMG) (ZIP)
A single window utility that gets a host name from an IP address or an IP address from a hostname.
Cocoa Sample Code 2003-01-14
NoCopyReceives (HTML) (DMG) (ZIP)
Demonstrates using no-copy receives under Open Transport.
Carbon, Hardware & Drivers, Internet & Web Sample Code 2003-01-14
NSLMiniBrowser (HTML) (DMG) (ZIP)
Deprecated - Uses the NSL API to find network services using SLP, NBP, and Directory Services.
Carbon Sample Code 2003-01-14
OT Virtual Server (HTML) (DMG) (ZIP)
Deprecated - Sample code which uses Open Transport and demonstrates real world issues.
Carbon Sample Code 2003-01-14
OTLookupNameTest (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to lookup NBP entities on an AppleTalk network using Open Transport.
Carbon Sample Code 2003-01-14
URL Access and the Missing Progress Dialog (HTML) (日本語 HTML)
Deprecated - QA1140: Explains a known bug in URL Access related to progress dialogs.
Carbon Technical Q&As 2002-09-23
Setting request headers in URL Access (HTML) (日本語 HTML)
Deprecated - QA1073: Explains how to work around a bug in URL Access when setting request headers.
Carbon Technical Q&As 2002-09-10
Living in a Dynamic TCP/IP Environment (HTML) (日本語 HTML)
TN1145: Describes some of the intricacies of dealing with TCP/IP in a dynamic environment, such as Open Transport.
Internet & Web Technical Notes 2002-08-27
Power Management; Policy Maker vs. Power Controller (HTML) (日本語 HTML)
QA1121: Describes the differences between a Power Management Policy Maker and a Power Management Power Controller.
Hardware & Drivers Technical Q&As 2002-02-13
IOKit Framework Headers (HTML) (日本語 HTML)
QA1107: Describes the differences between the headers in IOKit.framework and the I/O Kit headers in Kernel.framework.
Hardware & Drivers Technical Q&As 2002-01-15
Getting the User and Computer Name (HTML)
QA1078: Describes how to get the user and computer name on Mac OS X.
Carbon, Core Foundation Technical Q&As 2001-10-30
How to use URL Access with proxy servers (HTML)
Deprecated - QA1074: Explains how to use URL Access with proxy servers.
Carbon Technical Q&As 2001-10-02
Open Transport Libraries (HTML) (日本語 HTML)
NW18: Lists the Open Transport libraries and what to link with for PowerPC and 68K.
Carbon Technical Q&As 2000-11-03
The "chosen" node in the device tree (HTML)
HW88: Describes how to find the "chosen" node in the Open firmware device tree.
Hardware & Drivers, Internet & Web Technical Q&As 2000-09-05
Update: Borrowed AFP Sessions (HTML) (日本語 HTML)
TN1106: Shows how to borrow the session reference number of an AFP volume mounted by the Macintosh File System.
Carbon Technical Notes 2000-08-14
When to use PCMCIA, PC Card, and CardBus (HTML)
HW77: Explains the differences between PCMCIA, PC Card, and CardBus.
Hardware & Drivers Technical Q&As 1999-11-15
Raw IP and Open Transport 2.5.x (HTML)
Deprecated - NW63: Discusses Open Transport 2.5's change to the behavior of raw IP endpoints with IP_HDRINCL set.
Carbon Technical Q&As 1999-10-25
Are the Name Registry device tree nodes unique? (HTML)
Deprecated - HW64: Discusses whether Name Registry nodes copied from the Open Firmware device tree are unique.
Hardware & Drivers Technical Q&As 1999-10-11
Launching the Default Internet Browser (HTML) (日本語 HTML)
NW60: Shows with sample code how to invoke a user's default browser to open a specific URL.
Internet & Web Technical Q&As 1999-10-11
Allocate and Disk Full Error (HTML) (日本語 HTML)
FL12: Discusses a problem with AFP volumes displaying incorrect free space, and returning disk full errors.
Carbon, Cocoa Technical Q&As 1999-07-21
TCP/IP Option Sizes (HTML) (日本語 HTML)
NW62: Enumerates the TCP/IP options and their sizes for Open Transport.
Carbon, Hardware & Drivers, Internet & Web Technical Q&As 1999-04-26
fBroadCastAddr Always Zero (HTML) (日本語 HTML)
Deprecated - NW58: Explains why the fBroadcastAddr field may be zero after a call to OTInetGetInterfaceInfo and includes the workaround.
Carbon Technical Q&As 1999-03-08
Difference between using Restart or Shut Down in the Finder's Special menu in Open Firmware (HTML) (日本語 HTML)
HW47: Explains the differences between using Restart or Shut Down on Open Firmware
Hardware & Drivers Technical Q&As 1999-02-15
What are snag keys in Open Firmware? (HTML) (日本語 HTML)
HW35: Explains Open Firmware snag keys, including examples of their function.
Hardware & Drivers Technical Q&As 1999-02-15
Determining if a Drive is a Network Volume (HTML) (日本語 HTML)
NW09: Shows how to determine if a volume is mounted over the network.
Carbon Technical Q&As 1998-06-01
Numerous Small Packet Exchanges Resultin Poor TCP Performance (HTML) (日本語 HTML)
NW26: Explains why numerous small package exchanges result in poor TCP performance.
Carbon Technical Q&As 1998-05-25
Open Transport STREAMS FAQ (HTML)
Deprecated - TN1117: Decribes writing STREAMS modules and drivers for use with Open Transport.
Hardware & Drivers Technical Notes 1997-12-01
Receiving UDP Broadcasts (HTML) (日本語 HTML)
Deprecated - NW53: Explains why UDP endpoints may never receive UDP broadcast messages.
Carbon Technical Q&As 1997-11-17
OTScheduleDeferredTask When Task Running (HTML) (日本語 HTML)
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Carbon, Cocoa, Hardware & Drivers Technical Q&As 1997-10-13
68K Open Transport Code on Power Macintoshes (HTML)
Deprecated - NW48: Explains why running Open Transport 68K code on a PowerPC may not always work.
Carbon Technical Q&As 1997-03-14
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Carbon, Cocoa, Hardware & Drivers 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.
Carbon, Cocoa, Core Foundation, Hardware & Drivers, Internet & Web Technical Q&As 1996-10-25
Server Endpoint 'qlen' Limit (HTML) (日本語 HTML)
Deprecated - NW38: Tells how to determine the maximum 'qlen' value which limits the number of supported handoff endpoints.
Carbon Technical Q&As 1996-08-21
Calling CloseOpenTransport When Writing an App (HTML) (日本語 HTML)
Deprecated - NW36: Identifies a bug in Open Transport 1.1 which means your application must CloseOpenTransport before quitting.
Carbon Technical Q&As 1996-07-03
OTScheduleSystemTask Cleanup (HTML) (日本語 HTML)
Deprecated - NW37: States the proper way to clean up any pending system tasks scheduled with OTScheduleSystemTask.
Carbon Technical Q&As 1996-07-03
Aborting a OTConnect in Progress (HTML)
Deprecated - NW29: Describes the proper way to abort OTConnect, and why after calling OTSndDisconnect you may receive "kOTOutStateErr".
Carbon Technical Q&As 1996-05-14
Handing Off TCP Connections to a Different Port (HTML) (日本語 HTML)
NW25: Explains that a passive TCP connection cannot hand off the connection to a different port address.
Carbon Technical Q&As 1996-05-14
PSetSelfSend in Classic AppleTalk vs. Open Transport AppleTalk (HTML) (日本語 HTML)
NW23: Describes the relationship between PSetSelfSend in Classic AppleTalk and Open Transport AppleTalk.
Carbon Technical Q&As 1996-05-14
Synchronous TCP OTConnect Client Call Completes Before Server Responds (HTML) (日本語 HTML)
Deprecated - NW24: Explains why an OTConnect call will complete before the server responds.
Carbon Technical Q&As 1996-05-14
TCP Application Acquires Different Port Address After Relaunch (HTML)
Deprecated - NW28: Explains why a server application acquires a different TCP/IP port address after restarting.
Carbon Technical Q&As 1996-05-14
TCP Option Sizes (HTML)
Deprecated - NW27: Tells where to get more information on TCP Option sizes and setting TCP Options.
Carbon Technical Q&As 1996-05-14
Error -3168 (kOTStateChangeErr) and Handoff Endpoints (HTML) (日本語 HTML)
Deprecated - NW22: Explains why a kOTStateChangeErr -3168 occurs when there is a handoff endpoint involved.
Carbon Technical Q&As 1996-04-08
Closing the Connection: OpenTransport (HTML) (日本語 HTML)
Deprecated - NW20: Describes an orderly disconnect situation in Open Transport between two nodes.
Carbon Technical Q&As 1996-03-04
Open Transport Error -3208: kEBADFErr (HTML) (日本語 HTML)
NW21: Explains why a call to OTSnd may result in a kEBADFErr -3208.
Carbon Technical Q&As 1996-03-04