summaryrefslogtreecommitdiff
path: root/ACE/examples/C++NPv1/README
blob: 52c2905354194aa22ec1b21243aa1ecd4ecabe79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72


The files in this directory contain the source code from the book
``C++ Network Programming: Mastering Complexity Using ACE and
Patterns'' (C++NPv1) by Douglas C. Schmidt and Stephen D. Huston
(Addison-Wesley 2001, ISBN 0-201-60464-7).

We have compiled and run these files on the following platforms:

        Redhat Linux 7.1 using g++ 2.96.
        Microsoft Windows 2000 using Microsoft Visual C++ 6.

You must have the ACE_ROOT environment variable set correctly to build
these examples. ACE_ROOT must refer to the top-level ACE_wrappers
directory.  Please see $ACE_ROOT/ACE-INSTALL.html for instructions on
how to build the ACE toolkit.

Mapping Source Files to Book Chapters
-------------------------------------

The files in this directory map to the chapters in C++NPv1 as follows:

Chapter 4       Logging_Client.h
                Logging_Client.cpp
                Logging_Handler.h
                Logging_Handler.cpp
                Iterative_Logging_Server.h
                Iterative_Logging_Server.cpp

Chapter 7       Reactive_Logging_Server.h
                Reactive_Logging_Server.cpp
                Reactive_Logging_Server_Ex.h
                Reactive_Logging_Server_Ex.cpp

Chapter 8       Process_Per_Connection_Logging_Server.h
                Process_Per_Connection_Logging_Server.cpp

Chapter 9       Thread_Per_Connection_Logging_Server.h
                Thread_Per_Connection_Logging_Server.cpp
                RT_Thread_Per_Connection_Logging_Server.h
                RT_Thread_Per_Connection_Logging_Server.cpp

Microsoft Visual C++ users:
---------------------------

The examples.dsw file is a Microsoft Visual C++ workspace file that
contains projects for the individual programs. You can either build
them separately, or use the Batch Build command to build multiple
projects at once.

All other users:
----------------

Assuming that your system is configured correctly, you should be able
to type

% make

to compile all of the programs, and

% make clean

to remove all the files that were generated during compilation.

There are also individual Makefiles for each separate example program.
These makefiles have a ".mak" suffix. For example, Logging_Client.mak
is the makefile for the Logging_Client program.

All of the files in these directories are copyright Addison Wesley,
and they come with absolutely no warranty whatsoever.  Permission is
hereby granted to use these programs for educational or commercial
purposes.