Skip to content

arikl/client-server-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

client-server-chat - exercise

The project is maven based which include maven assembly plugin

Setup Installation

  1. run maven clean and package
  2. JAR with dependencies will be created in target folder
  3. java -jar com.arikl-1.0-SNAPSHOT-jar-with-dependencies.jar
  4. You have the option to choose between client and server
  5. type "server" for running server OR type "client" to be on client mode

Project Structure

The project is divided into three

  1. Client
  2. Server
  3. Main application to run

Explanation

Client will be able to send messages to the server while the server will send the messages to all clients Need to open several clients and notice that server returns messages to the clients

Disclammers

  1. The port and host are "hard coded" for running on different machines needs to change the code.
  2. This project is a basic example of communication between server to multiple clients

About

client server socket chat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages