Netprog 2002 - Client/Server Issues
43
shutdown() vs SO_LINGER
lYou can use shutdown{In|Out}put() to find out when the peer process has read all the sent data.
l