Chapter 6. Basic TCP/IP Socket Use

This chapter introduces you to basic TCP/IP programming using the ACE toolkit. We begin by creating simple clients and then move on to explore simple servers. After reading this chapter, you will be able to create simple yet robust client/server applications.

The ACE toolkit has a rich set of wrapper facades encapsulating many forms of interprocess communication (IPC). Where possible, those wrappers present a common API, allowing you to interchange one for another without restructuring your entire application. This is an application of the Strategy pattern [3], which allows you to change your “strategy” without making large changes to your implementation. To facilitate changing one set of IPC wrappers for another, ...

Get ACE Programmer's Guide, The: Practical Design Patterns for Network and Systems Programming 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.