Skip to content

jevinruv/Multithreaded-Client-Server-Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded-Client-Server-Chat-Application

A chat application which is written in C# where users can have group chats or private conversations. Simultaneously by using the concept Multithreading. This application involves two core components, they are Server and Client. The server is multithreaded, as it needs to handle multiple clients (up to 30).

Initially the Server should be up and running when the user launches the chat application (Client). Then the client is prompt to enter a username and then checked whether it exists, if not he/she is connected to the server.

The chat window previews the contact list that has joined the chat room (Group Conversation)

The Design,

er

A simple client-server architecture is as follows,

As shown there is only one server to handle all the clients, the messages that are sent from the clients are not send to the destination client directly, it is sent to the server and then to the client. • In order to use the functionalities of Networking in C# we use C# Sockets. • The protocol that is being used here is TCP, it can be used to receive messages and send messages.

A preview of the Server & Client GUI's -

c s

About

Check the Wiki tab for more...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages