Homework
.vscode | ||
.gitignore | ||
client.c | ||
hw12.c | ||
LICENSE | ||
Makefile | ||
p-client.c | ||
p-server.c | ||
README.md | ||
server.c | ||
socket_wrapper.c | ||
socket_wrapper.h |
HW12
Homework
To build source, you should install build-essential
.
Usage:
./server [OPTION]...
./client SERVERNAME PORT FILENAME
available macro:
- DEFAULT_SERVER_PORT : 9091
- DEFAULT_MAX_PATH_SIZE : 256(must be less than 1000)
- TIMEOUT : 5(second unit)
- USE_SENDFILE
- DEFAULT_SEND_FILE_CHUNK_SIZE : 0x100000(1MB)