Skip to content

aryeh-nigri/network-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Chat

A chat program with server/client structure, using UDP protocol to send data over the network. The server runs on the console and has a few commands; the client GUI was developed with Java Swing.

Compiling

To build the project, compile it and create a jar file. The class with the main function will compile everything else.

Inside the server folder:

javac ServerMain.java

Then, run the below command:

jar cfe Server.jar ServerMain *.class

Inside the client folder:

javac Login.java

Then, run the below command:

jar cfe Client.jar Login *.class

Running

Run the server with the command below from the server folder:

java -jar Server.jar <port number> 

Run the client by simply opening the Client.jar file.

Login

Login

The Chat

Chat

Online Users

Online Users

Kicking User

Kicking User

About

A chat program written in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages