Java Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 306
Number of posts: 629

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Programming a chat room... Posted by Ynot on 7 Sept 2003 at 7:19 AM
This message was edited by Ynot at 2003-9-7 7:22:25

Hiya!

I'm in the process of trying to program a chat room. But having absolutely no idea about how to go about it properly.

I've gotten a server to accept connections, and to accept messages from any number of connected clients, but I don't have a clue of how to forward the messages to every running client. I tried putting the client info into an array, but the array never seems to be updated.

Could anyone point me to a good resource that would clearly outline the theory behind writing a chatroom? Or maybe, if possible you could post that up here?

Thanks for your help,
Tony.
Report
Re: Programming a chat room... Posted by ermcool on 22 Nov 2003 at 8:01 AM
: This message was edited by Ynot at 2003-9-7 7:22:25

: Hiya!
:
: I'm in the process of trying to program a chat room. But having absolutely no idea about how to go about it properly.
:
: I've gotten a server to accept connections, and to accept messages from any number of connected clients, but I don't have a clue of how to forward the messages to every running client. I tried putting the client info into an array, but the array never seems to be updated.
:
: Could anyone point me to a good resource that would clearly outline the theory behind writing a chatroom? Or maybe, if possible you could post that up here?
:
: Thanks for your help,
: Tony.
:
Its polite to post your source code:)
Report
Re: Programming a chat room... Posted by treshr on 24 Nov 2003 at 1:59 AM
I've got a tutorial about creating a java chat server etc. But I need your email address to send it to you.

So if you want, I'd like to have it.

--=][tReShR][=--

Report
Re: Programming a chat room... Posted by Ynot on 24 Nov 2003 at 4:04 AM
My e-mail is:

tony.obyrne2@mail.dcu.ie

:) Thanks for that. :)
'Twill be a great help! :)

Tony.

/*
Those of you who believe in psychokenesis, raise my hand.
*/
Report
Re: Programming a chat room... Posted by treshr on 24 Nov 2003 at 4:34 AM
OK, I sended it to you.
I hope it helps you out.


--=][tReShR][=--

Report
Re: Programming a chat room... Posted by esolisa on 17 Sept 2008 at 6:18 PM
Good night:

Could you also send me the same tutorial?

I`m trying to develop a chat application under java.

Thanks a lot

Enrique Solis
enrique_solis_a@hotmail.com
Report
Re: Programming a chat room... Posted by Priapus on 31 Dec 2009 at 4:44 AM
Hi,
I'm also interested in developing a similar application. Can you send me the tutorial on developing a java chat server as well?

Thanks.
Report
Re: Programming a chat room... Posted by fabrilous on 11 Dec 2011 at 9:24 AM
I wanna have the same tutorial, it will help me cause i want to do the same project. Send it at fabrilous@yahoo.fr
Thx a loooooooot!!!!
Report
This post has been deleted. Posted by sohbeti on 20 Feb 2009 at 11:28 AM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.