This project demonstrates the concept of socket programming in a Linux operating system. It includes two folders: server and client. The client can interact with the server to perform various file operations such as uploading, downloading, deleting, and viewing different types of files including text files, audio files, video files, and image files.
- Client Operations:
- Upload Files: Upload various types of files (text, audio, video, image) to the server.
- Download Files: Download files from the server to the client.
- Delete Files: Delete files stored on the server.
- View Files: View a list of available files on the server.
- Programming Language: C/C++
- Operating System: Linux
- server/: Contains the server-side code to handle client requests and manage files.
- client/: Contains the client-side code to interact with the server and perform file operations.
- Linux operating system
- GCC compiler (if using C/C++)
- Make (for building the project, if applicable)
-
Clone the repository:
git clone https://github.com/yourusername/socket-programming-project.git cd socket-programming-project -
Navigate to the
serverdirectory and compile the server code:
cd server make # or use gcc server.c -o server -
Navigate to the
clientdirectory and compile the client code:
cd ../client make # or use gcc client.c -o client
- Start the Server
./server
-
Start the Client
./client -
Use the provided options to upload, download, delete, or view files.
Contributions are welcome! Please open an issue or submit a pull request for any changes or enhancements.