
■
At lines 360 through 365, the usage() function is defined and implemented.
This function displays usage information for the program to standard output.
■
At lines 368 through 438, the main() function is defined and implemented.This
is the main entry point of the program.This function processes user-supplied
command-line arguments and then calls the scan() function to perform the scan.
Threading and Parallelism
It is useful to employ multithreading in network applications to improve the perfor-
mance or scalability of an application. A single-threaded application such as the rpc1.c
example program must perform all operations in order, one after another ...