ingrid.yao@Eng 2000-09-12
In Doc, it only specifies:
If you read from a socket input stream after invoking
shutdownInput() on the socket, the stream will return EOF.
However, it doesn't specify what happens if you are blocked in read()
and then call shutdownInput(). In general it seems that it causes the
read() to immediately return EOF and that seems like the behavior one
would want, in fact the desired behavior and should be so specified.