O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required