After downloading the JAVACHAT program, follow these easy instructions to use the program.
How to use the server?
The two basic requirements for hosting the JAVACHAT Server are:
1. JDK 1.1.xOpen a new MS-DOS box in WIN95/98/NT. Move into the proj\server Directory.
The JAVACHAT Server has to be initiated by giving the command " java ChatServer " (Note the case)
This will start the server and it will be listening on port 2000. Please see to it that no other program is using this port.NOTE:
If you wish to keep a log of the server messages then just give the command as :
"java ChatServer >log.txt". The server messages will automatically
be directed to the "log.txt" file.
How to use the client software?
All the client side code exists in the APPLET called Conference. Copy the chat.html and Conference.zip files provided along with this pack, into the root directory of your HTTP server.
The chat.html file looks like this:
<applet code = "Conference.class" archive = "Conference.zip" width = 0 height =0>
< param name= "IP_Address" value= "70.0.0.2" >
< /applet>
To run the JAVACHAT program you have to edit the above chat .html as follows:
The IP address of the HTTP server, where the JAVACHAT server is running has to be entered in the‘value =’ field of the above code
Well, that’s all the work you have to do..! Now if the JAVACHAT server is running just open any browser and connect to the server HTTP server where you have installed the Chat Server.