<!-- page01.html,v 1.5 2000/03/19 20:09:22 jcej Exp --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; Linux 2.0.32 i486) [Netscape]"> <META NAME="Author" CONTENT="Billy Quinn"> <META NAME="Description" CONTENT="A first step towards using ACE productively"> <TITLE>ACE Tutorial 005</TITLE> </HEAD> <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000FFF" VLINK="#FF0F0F"> <CENTER><B><FONT SIZE=+2>ACE Tutorial 005</FONT></B></CENTER> <CENTER><B><FONT SIZE=+2>On the road to a multithreaded server</FONT></B></CENTER> <P> <HR WIDTH="100%"> <P>In this tutorial, we're going to flash-back to the simple server we created a while back. We'll create a very simple server where everything takes place in one thread. Once we have a solid understanding there, we'll move on to the next tutorial where we begin to introduce concurrency concepts. <P>There are four C++ source files in this tutorial: server.cpp, client_acceptor.h, client_handler.h and client_handler.cpp. I'll talk about each of these in turn with the usual color commentary as we go. In addition, I'll briefly discuss the Makefile and a short perl script I've added. <P> <P><HR WIDTH="100%"> <CENTER>[<A HREF="../online-tutorials.html">Tutorial Index</A>] [<A HREF="page02.html">Continue This Tutorial</A>]</CENTER>