Skip to content

jeantroiani/JavaChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Chatting System

Description:

This is a chat application done in Java using a combination of threads and socket to allow communication between multiple clients at the same time.

How to start it:

Server

Note: The server should be running first otherwise clients would not be able to connect and will return an error.

  • Run in the CLI
java ChatServer

Optionals: -csp: Changes the default PORT number to any number between 1024 and 49151.

java ChatServer -csp 3000

Client

Note: Flags can be combined but each flag must have a key and value present to be evaluated.

  • Run in the CLI
java ChatClient

Optionals: -ccp: Changes the default PORT number to any number between 1024 and 49151.

java ChatClient -ccp 3000

-cca: Changes the default PORT number to any number.

java ChatClient -cca 127.0.0.1

-name: Changes the name of the client

java ChatClient -name Edward

Bot

  • Run in the CLI
java ChatBot

About

Chat implemented in Java using threads and Sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors