Some features of the application are as follows :
This application is used for sending messages from one client to all clients. In this, server takes a message from the sender client and sends it to all clients. If any client wants to join the chatting then he runs the client application on client side, enters the login name and hits the login button and starts the chatting with every client. If any client joins the chatting system then the message ?User_Name has Logged in? comes on the message list box of every client window. Same like this, if any client exit from the chatting then the message ?User_Name has Logged Out? comes on the message list box of every client window.
In this we are maintaining the list of user names (client name) also. After creating the connection with server, client sends the user name to server and server store it in the arraylist and sends this arraylist to all clients. Same like this when any client has logged out then server remove this name from the arraylist and send this updated arraylist to every client.
Limitations of the application are as follows :
This application is used for sending
and receiving the messages but the message is shown to every client. Means
this application is unable to provide the private chat facility it is like a
multi party conference.
Before running the client application make sure the server application is running. If server is not in running condition then you can not start the chatting.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Features and Limitations of the Application
View All Comments
Post your Comment