make clean
make
make clean
make TCP
make clean
make UDP
make clean
make Mul
make clean
make Web
-
TOTALLY THE SAME AS WHAT IN this pdf
- the first parameter of client can be a
url
as well, instead of anip
address.
- the first parameter of client can be a
-
in PartA and PartB, you should first launch server, and then client
- In order to exit safely from the waiting loop of a TCP server (serverTCP/serverMul/serverWeb), you need to send a
SIGINT
signal to the process manually (by typingCtrl+C
in the terminal or using other shell command).- Remember only send
SIGINT
to the server when it's in idle.
- Remember only send
- But the server will flush the output to the log file immediately after it receives the TCP end from the client.
- In order to exit safely from the waiting loop of a TCP server (serverTCP/serverMul/serverWeb), you need to send a