-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (27 loc) · 1.31 KB
/
index.html
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
<html>
<head>
<title>Installing and Running SimpleChat, Phase 1</title>
</head>
<body bgcolor="#FFFFF">
<p>To run the SimpleChat, you must first install <a
href="../ocsf">ocsf</a>, and make sure ocsf is in your classpath (or is a
subdirectory of simplechat1).</p>
<p>Then you must compile the .java files, including those in the
subdirectories.</p>
<p>To run the SimpleChat you must first start a server: "java EchoServer".
Then you start one or more clients: "java ClientConsole". To run a client
on a different machine, you enter "java ClientConsole serveraddress", where
serveraddress is the IP address or host name of the machine where the
server is runing. Once a client is running, you can type some text; the
text will be echoed to any other clients that are running.</p>
<p>To learn how this code works, consult the book <a
href="http://www.lloseng.com"> "Object-Oriented Software Engineering:
Practical Software Development using UML and Java"</a> by Lethbridge and
Laganière. The book contains many exercises where you will add
features to SimpleChat.</p>
<p>If the server won't start, it might be because the default 'port' number
of 5555 is already in use. Follow the exercises in the book to improve the
code and solve this problem.</p>
<p><a href="../../">Back to the source code page.</a></p>
</body>
</html>