Network Application Course code
Here is a description for the contents of each file:
server.c
andclient.c
are two typical TCP server and client.fork.c
andthread.c
contain code for creating a new process and many threads.server.fork.c
andserver.thread.c
these two servers use multi-processing and multi-threading to handle multiple connections.
File Server
This folder contains code for the FileServer protocol, here are the files:
file.h
andfile.c
a header file for the functions and structures defined in file.h with their implementation found infile.c
test.c
andtest.txt
A main program to test functions defined infile.h
.