Skip to content

SimpleChatApp is a basic chat application that enables communication between clients and a server. It's a simple Java chat implementation.

Notifications You must be signed in to change notification settings

fabriciopereiradiniz/SimpleChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 SimpleChatApp

SimpleChatApp is a basic chat application that enables communication between clients and a server. It's a simple Java chat implementation.

Features

  • Client-server connection.
  • Sending messages between clients and the server.
  • Simulation of message delivery with ACK (Acknowledgment) and NACK (Negative Acknowledgment).

Prerequisites

  • Java (JDK) installed on your system.
  • How to Use

How to Use

  1. Clone the repository:
git clone https://github.com/your-username/SimpleChatApp.git
  1. Compile the server code:
javac entities/Server.java
  1. Compile the client code:
javac entities/Client.java
  1. Run the server:
java entities.Server
  1. Run one or more clients:
java entities.Client
  1. Follow the instructions to provide a name for the client and start sending messages. Note: Ensure you replace "YOURIPHERE" with the actual IP address of the server in the private static final String SERVER_ADDRESS = "YOURIPHERE"; line in the Client.java file.

About

SimpleChatApp is a basic chat application that enables communication between clients and a server. It's a simple Java chat implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages