tuyau

Client/server for transfering files (like cp)
git clone https://noulin.net/git/tuyau.git
Log | Files | Refs | README

commit db206020dfe65cd4d272dbfc157c1d86378189d4
parent 524eab401a2a695dd7ae27e9fa89ecf24f3603b1
Author: Remy Noulin <loader2x@gmail.com>
Date:   Fri,  2 Sep 2022 20:13:45 +0200

add comments

README.md   | 2 +-
package.yml | 2 +-
sclient.c   | 5 +++++
3 files changed, 7 insertions(+), 2 deletions(-)

Diffstat:
MREADME.md | 2+-
Mpackage.yml | 2+-
Msclient.c | 5+++++
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -1,4 +1,4 @@ -This client/server program for copying files between computer. +This is a client/server program for copying files between computer. It supports only 1 client at a time. It works like the cp command and copies the directories recursively. diff --git a/package.yml b/package.yml @@ -1,6 +1,6 @@ --- name: tuyau - version: 0.0.7 + version: 0.0.8 description: "Client for copying files to tuyauServer" bin: ./tuyau.c #cflags: -DA -g3 -std=gnu11 -fPIC -pipe diff --git a/sclient.c b/sclient.c @@ -20,6 +20,11 @@ Downdload files: ./sclient.c serverName:path/files path/ ./sclient.c serverName:path/file path/newfilename +When the client sends files to the server, client decides when +to close the connection and the client closes the connection +When the client receives files from the server, the server decides when +to close the connection and the client closes the connection + */ #include <netdb.h>