Skip to content

George-Catalin/Client-Server-ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Client-Server-ChatApp

A Chat application is realized for the Client and the Server which is biased on Transmission Control Protocol (TCP) where TCP is the connection oriented protocol and is reliable. After starting a server on a specific port, users can establish a connection to it through a friendly Graphical User Interface mentioning the port and the IP address of the creator. The first user connected to the chat becomes the coordinator of that chat and is put in charge of maintaining the conversation and pinging the state of the group to all other members. On log out the title is lost and is inherited by other users.

Summary

The program was made in Java NetBeans and it contains four important classes: Server, ServerGUI, Client and Client GUI
The Server class is the back end of the main server and it contains all the logic.
The ServerGUI class is the front end of the server and it contains a GUI for an easier management of the program.
The Client class is the back end of the main client and same as the Server class, it contains all the logic.
The ClientGUI class is the Graphical User Interface of the Client class and it is the main frame for the users to chat with each other.

Running the program

  1. Opening the program in Java NetBeans
  2. Running the Server class or the ServerGUI class (with GUI preferably).
  3. Adding a desired port (the default is set to 1500).
  4. Running the ClientGUI class.
  5. Adding the IP address (if not, the default is set to localhost) and the Port number (default 1500).
  6. Entering an ID (default is set to Anonymus).
  7. Click log in and enjoy chatting.

About

Chat Program with different functionalities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages