6.6 shutdown FunctionThe normal way to terminate a network connection is to call the close function. But, there are two limitations with close that can be avoided with shutdown:
The action of the function depends on the value of the howto argument.
Figure 7.12 will summarize the different possibilities available to the process by calling shutdown and close . The operation of close depends on the value of the SO_LINGER socket option.
|