Advertisement
C_Volume2 Coding Standards #81123

A simple multiple chat v1.0

First of all let me thank all those of you guys who have voted & liked my previous "single client chat application". At their earnest request I've written this simple multiple client chat application. I hope this turns out to be of some use!!!! Unlike the previous one, here you can have any number of clients. If over a network, plz change the ip & port according to the server machine. With out any change this should work perfectly on any win xx machine...though I haven't tested this on win NT & XP. Let me know if there are any probs! In this release(V1.0) I haven't implemented the clientList and other options. I'm thinking of upgrading this version but mind you it depends upon how many votes I rcv, when deciding to upgrade this??!!! So Plzzzzzzz vote for me. thankx in advance! Yup this program is copyrighted.....you do not have permission to use this code!!!! Just kidding guys, you can use this code in what ever manner and whereever you feel fit...but plz leave a line or two to my credit, if this turns out to be of some help. NOTE: To HAVE CORRECT FORMATTed VIEW OF THIS FILE OPEN IN DOS USING EDIT COMMAND. How to run this??(if u r nu) These are the two files needed to run the chat application... 1)chatServer.java(server, run on only one machine) 2)chatClient.java(chat.htm, downloaded as an applet by as many clients as possible) To compile these two files you need to have JDK1.2 or higher installed on your machine. If you don't have one, you can have your free copy from http://www.sun.com. Now when you have JDK1.2 then you need to have your environment variables pointed to the right directories... compile using the following command at the prompt prompt:> javac chatServer.java prompt:> javac chatClient.java You might get one or two warnings...plz ignore them. Now to run the program... Type in "java chatServer" at the dos prompt... Now you can call the chatClient applet from any html file.... For any Q's feel free to contact me. Thankx for downloading. You can always visit me @ http://mypal.20m.com regards suhail. ENJOY!

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Upload
원본 댓글 (3)
Wayback Machine에서 복구됨