How 100496072/sistema-p2p-distribuido-para-traspaso-de-ficheros-y-servicios-rpc-web works
Project type and purpose
• This is a Distributed P2P file-transfer system in C, augmented with an ONC-RPC server and a small Python-based web RPC service.
• Its goals (from README) are:
• Let peers exchange files in a P2P overlay (client.py, server.c, lines.c/h, users.c/h)
• Expose RPC operations via ONC-RPC (print_rpc.x, onc_rpc_server.c)
• Provide a simple web service in Python (ws-time-service.py) with a corresponding client (ws-calc-client.py).
File structure
• Top-level Makefile: builds C sources, compiles RPC stubs from print_rpc.x.
• C P2P module:
– server.c: P2P‐server daemon
– client.py: P2P file‐transfer client (Python)
– lines.c/h: file-chunk management
– users.c/h: peer/user authentication & metadata
• RPC module:
– print_rpc.x: RPC interface definition
– onc_rpc_server.c: RPC service implementation
• Web RPC module (Python):
– ws-time-service.py: HTTP time service
– ws-calc-client.py: example client consuming the web service
• Other artifacts: memoria.pdf (project report), README(.md/.txt), autores.txt.