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.x
2. An HTTP server (either NT or any Website Server running on Win 95/98)

Open 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.
Also see to it that the path for JDK\BIN directory is available in the Autoexec.bat.

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.

 

Now a few tips on how to use this GUI.

  1. To send a message to any user just select his/her name in the user-list and type the message in the text-box provided and click on "Send" button or simply press the return key.
  2. To change the channel, select the desired channel and click on the "Change Channel" Button.
  3. To ignore or block an annoying user, just select his name and click on the "(Un) Squelch User" button. You will not receive
  4. any messages from this squelched user unless you unsquelch him.
  5. To exit the chatroom click on the "Exit" Button.
  6. You can express yourself in various manners by selecting an action from the "Select An Action" list. You can shout, sneeze, grin etc. in the Chatroom.
  7. To send private messages to any user in the channel, click on "Private Channel" Button .You will get a Private Channel box in which you can send private messages to any user in the channel.

Previous Page


Back to Main page


Vijay Mukhi's Computer Institute
VMCI, B-13, Everest Building, Tardeo, Mumbai-400 034, India
Tel : 91-22-496 4335 /6/7/8/9     Fax : 91-22-307 28 59
e-mail : vmukhi@giasbm01.vsnl.net.in
http://www.vijaymukhi.com