Skip to content

Client server based file sharing and text exchanging application in which clients communicate through a server.

License

Notifications You must be signed in to change notification settings

ali-john/Multiparty-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💬 Multiparty-Chat


Client server based file sharing and text exchanging application in which clients communicate through a server and then client messages/ data is send to all connected clients on server.


🔍 OverView


MultiParty Chat is an application in which:

  • There is a server which recives connection requests.
  • Clients which connects to server.
  • Clients communicate with each other through server.
  • Each clients message is first sent to server which in turn send it to all connected clients in chat.
  • Clients can send text as well as multi media files, binary files etc.
  • It uses TCP protocol for sending and recieving data.

💭 How To Run!


This code compiles on UNIX systems because of differences in APIs in windows and UNIX based systems. To compile and run this open terminal in folder where code files are and type:

  • run 'g++ -o server server.cpp -lpthread'
  • run 'g++ -o client client.cpp -lpthread'
    This creates two application files with name server and client. Open two terminal windows and in one first run server by typing './server' in terminal and in second one run client by typing './client'. Now at this point one client has connected to server. Run multiple clients in same way and share messages/ files.

Output

Multiple clients connecting to server

image

Sending Message from clients

image

Sending File from client, recieved to server and other clients

image

About

Client server based file sharing and text exchanging application in which clients communicate through a server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages