Skip to content

JYYHH/CS536-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Compile the demo

make clean
make

Compile the TCP part

make clean
make TCP

Compile the UDP part

make clean
make UDP

Compile the Multi-thread TCP part

make clean
make Mul

Compile the Web Server

make clean
make Web

Run the bin

  • TOTALLY THE SAME AS WHAT IN this pdf

    • the first parameter of client can be a url as well, instead of an ip address.
  • 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 typing Ctrl+C in the terminal or using other shell command).
      • Remember only send SIGINT to the server when it's in idle.
    • But the server will flush the output to the log file immediately after it receives the TCP end from the client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published