O'Reilly logo

C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns by Stephen D. Huston, Douglas C. Schmidt

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 3. The ACE Socket Wrapper Facades

Chapter Synopsis

This chapter presents the patterns and wrapper facade classes that ACE provides to resolve the accidental complexity problems with the Socket API discussed in Chapter 2. We describe the ACE classes that use the Wrapper Facade pattern to encapsulate connection-oriented Socket API functionality in portable C++ classes. We also illustrate the use of these classes using brief, familiar Web server and client examples before showing the larger networked logging service in Chapter 4.

3.1 Overview

ACE defines a set of C++ classes that address the limitations with the Socket API described in Section 2.3. These classes are designed in accordance with the Wrapper Facade design pattern [SSRB00 ...

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