Skip to content

The application is designed to enable communication and file sharing among community members. The key requirements include sharing details about files in a client's shared directory, allowing search and download of shared files, supporting full-duplex chat, and maintaining a community with at least four members.

Notifications You must be signed in to change notification settings

Abshar-Shihab/Hybrid-P2P-Distributed-Chat-File-Sharing-Application-using-BSD-Sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hybrid-P2P-Distributed-Chat-File-Sharing-Application-using-BSD-Sockets

The application is designed to enable communication and file sharing among community members. The key requirements include sharing details about files in a client's shared directory, allowing search and download of shared files, supporting full-duplex chat, and maintaining a community with at least four members.

Server Implementation

The server is responsible for:

  • Accepting incoming connections from clients.
  • Maintaining a list of active clients and their shared files.
  • Handling file search requests.
  • Facilitating chat sessions between clients. The server uses BSD sockets to establish connections with clients and manages a database of active clients and their shared files.

Client Implementation

Each client is responsible for:

  • Connecting to the server upon joining the community.
  • Sharing details about its shared files with the server.
  • Initiating and participating in full-duplex chat sessions.
  • Sending file search requests to the server and downloading files from other clients.

About

The application is designed to enable communication and file sharing among community members. The key requirements include sharing details about files in a client's shared directory, allowing search and download of shared files, supporting full-duplex chat, and maintaining a community with at least four members.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages