Skip to content

issacto/Chatbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbox

The program is deployed on Amazon Web Service EC2

This chatbox is designed for multi-user chat. The program is mainly written in Java. Socket programming as well as Javafx techniques are practiced.

Activate the server/client jar file

Type these commands on terminal after dragging these files on laptop

java -jar Client.jar
java -jar Server.jar

Socket Programming to connect the users

Scanner dis= new Scanner(socket.getInputStream());
output = new PrintWriter(socket.getOutputStream(), true);

base64 Image conversion so that other users can get the value of the image through the socket.

base64Image = Base64.getEncoder().encodeToString(imageData);

First sign in with a name


Then change profile picture and chat@-@


Releases

No releases published

Packages

No packages published