Homework
Go to file
2020-12-04 08:33:41 +00:00
.vscode add server drived by process 2020-12-04 07:48:03 +00:00
.gitignore add macro to change setting 2020-12-04 08:33:41 +00:00
client.c add macro to change setting 2020-12-04 08:33:41 +00:00
hw12.c add base 2020-12-03 23:06:26 +00:00
LICENSE Initial commit 2020-12-04 07:28:31 +09:00
Makefile add macro to change setting 2020-12-04 08:33:41 +00:00
p-client.c add macro to change setting 2020-12-04 08:33:41 +00:00
p-server.c add macro to change setting 2020-12-04 08:33:41 +00:00
README.md add macro to change setting 2020-12-04 08:33:41 +00:00
server.c add macro to change setting 2020-12-04 08:33:41 +00:00
socket_wrapper.c add server drived by process 2020-12-04 07:48:03 +00:00
socket_wrapper.h add macro to change setting 2020-12-04 08:33:41 +00:00

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)