This project is a prototype for a multi-client chat application built in Java, designed to demonstrate the fundamentals of network programming. The application utilizes client-server architecture, enabling real-time communication between connected users. By leveraging Java's Socket
and I/O libraries, the app facilitates message exchange over TCP/IP, simulating a basic messaging service.
- Real-time messaging: Supports real-time text-based communication between users.
- Basic networking: Implements networking functionality to establish communication between server and clients.
- java.net.Socket: Used for establishing a connection between client and server.
- java.io.InputStream/OutputStream: Handles the sending and receiving of messages between users.
- java.util.Scanner: Reads user input for communication in the chat system.
-
Clone the repository:
git clone https://github.com/JulianFisla/Chat-Messenger-App.git
-
Run the server and client files in separate terminals.
-
Start chatting by entering your messages in the console.
-
Ensure you have the Java Development Kit (JDK) installed.
-
Compile the code using the command:
javac *.java
-
Run the server:
java Server
-
Run the Client
java Server
- Text display may behave differently on various machines due to system compatibility.