Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CHAT APPLICATION

Posted on 2004-08-19
4
Medium Priority
?
158 Views
Last Modified: 2010-03-31
Hi Everybody,
       I am developing a chat application using TCP/IP. I created the client chat room window and login window.
Can I store the login name or/and password in one vector in the server and the messages in another vector.I want to establish the clients-server connection. Can anybody help me with the code or logic.
                         Thank you
                             Chettan_a
0
Comment
Question by:chettan_a
4 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 400 total points
ID: 11839789
> Can I store the login name or/and password in one vector in the server and the messages in another vector.

Yes you can.

For more info on building a char system have a look here:

http://www.acm.org/crossroads/xrds6-1/ovp61.html
http://developer.novell.com/ndk/doc/samplecode/nco_sample/src_com_novell_Chat/Chat.java.html

Take a look at the links they will help you. If you still have question do not afraid to ask here: )
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question