summaryrefslogtreecommitdiff
path: root/docs/tutorials/001/page05.html
blob: 8725e1f410f746b53458a5269b5847ba2498c9c9 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
   <TITLE>ACE Tutorial 001</TITLE>
   <META NAME="GENERATOR" CONTENT="Mozilla/3.01Gold (Win95; I) [Netscape]">
   <META NAME="Author" CONTENT="James CE Johnson">
   <META NAME="Description" CONTENT="A first step towards using ACE productively">
</HEAD>
<BODY text = "#000000" link="#000fff" vlink="#ff0f0f" bgcolor="#ffffff">


<CENTER><P><B><FONT SIZE=+2>ACE&nbsp;Tutorial 001<BR>
A Beginners Guide to Using the ACE&nbsp;Toolkit</FONT></B></P></CENTER>

<hr>
<P>This concludes the first tutorial on using ACE. We've learned how to
create a simple server without knowing very much about network programming.

<P>The code used in this tutorial is for illustration purposes. That means
it may or may not work.&nbsp;&nbsp; Actually, it <I>does</I> work but the
astute reader will notice a number of places for potential memory leaks.&nbsp;
We'll work on cleaning those up in future tutorials but if you find one
feel free to send me a fix and I'll integrate it into the tutorial.

<UL>
<LI>
<A HREF="00SetEnv">Environment
Settings</A></LI>

<LI>
<A HREF="Makefile">Makefile</A></LI>

<LI>
<A HREF="server.cpp">main
program</A></LI>

<LI>
<A HREF="acceptor.h">acceptor
object</A></LI>

<LI>
<A HREF="logger.h">connection
handler</A></LI>
</UL>

<P>
To read more about the patterns used in this example (as well as
quite a few which aren't!), you should check out
<A HREF="http://www.cs.wustl.edu/~schmidt/patterns-ace.html">http://www.cs.wustl.edu/~schmidt/patterns-ace.html.</A>
In fact, it's probably safe to say that the concepts found there will keep
coming back to haunt you as these tutorials continue.
<P>
<P><HR WIDTH="100%">
<CENTER>[<A HREF="../online-tutorials.html">Tutorial Index</A>] </CENTER>