To build the binaries please use the following commands:
mkdir build
cd build
cmake ..
make -j 1The compiled binaries will then be located in build/bin/.
This repository contains a small TCP client–server file service.
- Server: a file-service module that accepts client connections and exposes basic file operations. It tracks connected clients and makes a server-side storage location available to clients. See
src/server.cfor function-level descriptions (@briefcomments). - Client: a CLI client that connects to the server and issues textual commands to request file lists, download or upload files, and query connected clients. See
src/client.cfor function-level descriptions (@briefcomments).
Commands (names only)
- Get
- Put
- Files
- List
- Quit
Notes
- The source files (
src/server.c,src/client.c) contain concise@briefcomments describing the intended behavior of the main components and functions.