Important alert: (current site time 7/15/2013 3:47:55 PM EDT)
 

winzip icon

Client Server chat

Email
Submitted on: 8/27/2000 12:18:28 AM
By: Makarand 
Level: Intermediate
User Rating: By 10 Users
Compatibility: Java (JDK 1.1), Java (JDK 1.2)
Views: 31774
 
     Simple client Server chat is done with this. Check out. You will like it.

 

HTML:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//HTML for :Client Server chat
//**************************************
No
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
10/17/2001 2:10:04 AMPinki

Hi... I like your chat a lot but as i am a beginner to java... I find it quite hard to understand your codes. Do u mind if you can explain them to me... Is it possible to implement a scrollbar so that the messages are not deleted after 7 messages?
Reply to me at pinki_tan@yahoo.com.sg
(If this comment was disrespectful, please report it.)

 
11/26/2001 11:31:54 AMwill landstrom

nice clean, professional code-great job
(If this comment was disrespectful, please report it.)

 
8/27/2002 10:26:38 AMRajesh

Client server chat application was simply professional, code and stuff, Do have an update version of it which could be easily customized. Please let me know rajeshkumar27@hotmail.com
(If this comment was disrespectful, please report it.)

 
10/7/2002 12:06:19 AM

Hi,
Nice coding but i don't know what i should do with it i put it on a html page but nothing works. Please help

Thanking you in advance.

Yvon
(If this comment was disrespectful, please report it.)

 
10/9/2002 7:09:11 AM

Hello Makarand,

How are you ?

I down loaded you chat server from
http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1945&lngWId= 2

can
you tell me how i can run it ?
as you written , did you made it's next version ?
basically, i want chat server from Internet.

Your email address is not exist.
So tell me what i will do

Do Replay!
Cheer's
Dhruv

(If this comment was disrespectful, please report it.)

 
11/21/2002 12:31:26 AM

can this run on two pc? how can it b done?
(If this comment was disrespectful, please report it.)

 
11/27/2002 6:24:13 PM

hello, I am beginner programer in java, I am called much atencion your
program of the chat, I compile using (javac client1.java) but I cannot
making run the program, I don't know if I can do this using (appletviewer client1.java) or if exists another way, thanks for your help

(If this comment was disrespectful, please report it.)

 
12/15/2002 12:20:16 PM

I just wonder, whether more than one client can connect t o the server at one time & if it can what type of communication method been used (i.e. CORBA, RMI, Socket)
(If this comment was disrespectful, please report it.)

 
1/7/2003 11:43:55 AM

simple coding but great. nice piece of work.
(If this comment was disrespectful, please report it.)

 
9/25/2003 10:54:41 PM

can you tell me how to run this program?i m using version j2sdk1.4.1.pls mail me asap.thank you
(If this comment was disrespectful, please report it.)

 
8/4/2004 6:14:15 AM

how to run this program????email me plss hac_20@yahoo.com
(If this comment was disrespectful, please report it.)

 
8/10/2004 5:07:38 AM

Thank u for develop simple server client chat.now come to point that do u complete ur server client full version.we have a group.we want to use ur chat engine.That means multiple client can access ur chat server.we need ur repply very soon.have a nice day.

(If this comment was disrespectful, please report it.)

 
8/25/2004 9:33:12 AM

ermz... im a beginner... i excute the server and then the client but both don't seen to be connected at all... when i type in the client the server nv recieve and when i type at server the client nv recieve... pls teach me how to work this program..
my email:
tgt1985@hotmail.com
(If this comment was disrespectful, please report it.)

 
10/30/2004 10:59:41 PM

Work = new Object[]{Nice, Simple, Clean};

//keep going
(If this comment was disrespectful, please report it.)

 
2/4/2005 6:05:17 PM

Makarand's program works very well for one client only. I want to customize it for multiple clients, if possible, where a user can also invite other
on-line users to join the group chatting, etc. Any help? Please write to: george.kontos@wku.edu
Thank you
(If this comment was disrespectful, please report it.)

 
4/8/2005 5:51:31 AM

Makarand's program works very well for
one client only. I want to customize it
for multiple clients, if possible,
where a user can also invite
other
on-line users to join the group
chatting, etc. Any help? Please write
to: shobit.gupta@gmail.com
Thank you

(If this comment was disrespectful, please report it.)

 
4/8/2005 5:53:42 AM

hi,
nw i m d nbegginer in java..i h jst started java with swing.can u do some feed back form where shd i get inaitate d java..or how v get d command in java..
(If this comment was disrespectful, please report it.)

 
6/4/2005 11:31:24 PM

ye..cool
(If this comment was disrespectful, please report it.)

 
6/26/2005 3:47:38 AM

hi mak i liked ur code very much and i copied it
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.