Solved

CHAT APPLICATION

Posted on 2004-08-19
4
153 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 100 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 86
starter POM and spring-boot-starter,  spring-boot-web 2 54
MySQL  on Tomcat 8 45
CSV file parsing thru Java 13 28
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…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

770 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