Simple server - client based file request testprogram, work only in localhost.
The server will search for file with names requested by client in the start folder.
Default start folder is the folder the server program currently located in, defined as "." in findfile.c
All the source file is located inside /src
for Server:
-
compile:
gcc -o server server.c findfile.c
-
run:
./server [PORTNUMBER]
for Client:
-
compile:
gcc -o client client.c
-
run:
./client localhost [PORTNUMBER]