Home > Store > Programming > C/C++

C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns

C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns

eBook (Watermarked)

  • Your Price: $38.39
  • List Price: $47.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2002
  • Pages: 336
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-265189-0
  • ISBN-13: 978-0-13-265189-9

As networks, devices, and systems continue to evolve, software engineers face the unique challenge of creating reliable distributed applications within frequently changing environments. C++ Network Programming, Volume 1, provides practical solutions for developing and optimizing complex distributed systems using the ADAPTIVE Communication Environment (ACE), a revolutionary open-source framework that runs on dozens of hardware platforms and operating systems.

This book guides software professionals through the traps and pitfalls of developing efficient, portable, and flexible networked applications. It explores the inherent design complexities of concurrent networked applications and the tradeoffs that must be considered when working to master them.

C++ Network Programming begins with an overview of the issues and tools involved in writing distributed concurrent applications. The book then provides the essential design dimensions, patterns, and principles needed to develop flexible and efficient concurrent networked applications. The book's expert author team shows you how to enhance design skills while applying C++ and patterns effectively to develop object-oriented networked applications.

Readers will find coverage of:

  • C++ network programming, including an overview and strategies for addressing common development challenges The ACE Toolkit
  • Connection protocols, message exchange, and message-passing versus shared memory
  • Implementation methods for reusable networked application services
  • Concurrency in object-oriented network programming
  • Design principles and patterns for ACE wrapper facades

With this book, C++ developers have at their disposal the most complete toolkit available for developing successful, multiplatform, concurrent networked applications with ease and efficiency.

Sample Content

Table of Contents

(NOTE: All chapters end with a Summary.)

About This Book.

Design Challenges, Middleware Solutions, and ACE.

Challenges of Networked Applications.

Networked Application Design Dimensions.

Object-Oriented Middleware Solutions.

An Overview of the ACE Toolkit.

Example Application: A Networked Logging Service.


1. Communication Design Dimensions.

Connectionless versus Connection-oriented Protocols.

Synchronous versus Asynchronous Message Exchange.

Message Passing versus Shared Memory.

2. An Overview of the Socket API.

An Overview of Operating System IPC Mechanisms.

The Socket API.

Limitations of the Socket API.

3. The ACE Socket Wrapper Facades.


The ACE Addr and ACE INET Addr Classes.

The ACE IPC SAP Class.

The ACE SOCK Class.

The ACE SOCK Connector Class.

The ACE SOCK Stream and ACE SOCK IO Classes..

The ACE SOCK Acceptor Class.

4. Implementing the Networked Logging Service.


The ACE Message Block Class.

The ACE InputCDR and ACE OutputCDR Classes.

The Initial Logging Server.

The Client Application.


5. Concurrency Design Dimensions.

Iterative, Concurrent, and Reactive Servers.

Processes versus Threads.

Process/Thread Spawning Strategies.

User, Kernel, and Hybrid Threading Models.

Time-shared and Real-time Scheduling Classes.

Task- vs. Message-based Architectures.

6. An Overview of Operating System Concurrency Mechanisms.

Synchronous Event Demultiplexing.

MultiProcessing Mechanisms.

MultiThreading Mechanisms.

Synchronization Mechanisms.

Limitations with OS Concurrency Mechanisms.

7. The ACE Synchronous Event Demultiplexing Wrapper Facades.


The ACE Handle Set Class.

The ACE Handle Set Iterator Class.

The ACE::select() Methods.

8. The ACE Process Wrapper Facades.


The ACE Process Class.

The ACE Process Options Class.

The ACE Process Manager Class.

9. The ACE Threading Wrapper Facades.


The ACE Thread Manager Class.

The ACE Sched Params Class.

The ACE TSS Class.

10. The ACE Synchronization Wrapper Facades.


The ACE Guard Classes.

The ACE Mutex Classes.

The ACE Readers/Writer Lock Classes.

The ACE Semaphore Classes.

The ACE Condition Variable Classes.

A Design Principles for ACE C++ Wrapper Facades.


Use Wrapper Facades to Enhance Type Safety.

Simplify for the Common Case.

Use Hierarchies to Enhance Design Clarity and Extensibility.

Hide Platform Differences Whenever Possible.

Optimize for Efficiency.

B The Past, Present, and Future of ACE.

The Evolution of ACE.

The Road Ahead.

Concluding Remarks.

Index. 0201604647T12052001


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership