Skip to content

Chat application with broadcast, unicast and blockcast capabilities

Notifications You must be signed in to change notification settings

huzaifa-d/JavaChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Chat application

With broadcast, unicast and blockcast

(Computer Networks Project)

This is a java based chat application deveolped to broadcast, unicast and blockcast text messages to and from multiple connected clients. A centrailzed server is responsible for handling all connection requests and forwarding it to the respective clients.

To run, compile and run Server.java on the respective environment. For each client, compile and run an instance of Client.java on the respective environment. For every client instance running, its registration is automatically handled by the server and broadcasted. Using the ID provided by the server, clients can communicate amongst themeselves.

To send a message:

cast_type data_type client_number data

e.g. -

	broadcast message "Hello World"
	unicast message 2 "Greetings Client 2"
	blockcast message 5 "Welcome all, except 5 :p"

About

Chat application with broadcast, unicast and blockcast capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages