Chapter 6. Networking

Networking is a critical component of many applications today. Networking APIs can take many forms, including TCP/IP communications with the sockets library or interprocess communications using Cocoa’s distributed objects system. Mac OS X’s Darwin layer includes all standard Unix networking technologies and APIs, which are fully accessible from any Cocoa application. In addition to being able to access the Unix APIs, the Foundation framework implements several classes that give applications a higher-level interface for working with networking technologies. This chapter summarizes Foundation’s networking classes, shown in Figure 6-1.

Hierarchy of networking-related classes in the Foundation framework
Figure 6-1. Hierarchy of networking-related classes in the Foundation framework

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.