Book Image

iOS and OS X Network Programming Cookbook

By : Jon Hoffman
Book Image

iOS and OS X Network Programming Cookbook

By: Jon Hoffman

Overview of this book

Table of Contents (15 chapters)
iOS and OS X Network Programming Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


In the previous chapters, we covered a variety of libraries and APIs designed to give us low-level access to the network interfaces. These libraries and APIs are designed to give developers great flexibility in how devices communicate over the network. While this flexibility and control is nice to have, there are times when we want to communicate using standard protocols and do not want to spend time implementing the communication mechanism ourselves. This is where the higher-level libraries in the following chapters come in.

In this chapter, we will be covering some of Apple's high-level networking APIs. The APIs discussed in this chapter hide the underlying network communication mechanism from the developer and allow them to focus on implementing their business logic rather than the network code. These recipes are designed to connect to servers over the Internet or to connect multiple devices through bluetooth.

The synchronous and asynchronous HTTP(S) connection recipes are...