Name: rlT66838 Date: 06/28/99
Some programs expect to the input or output part of the connection
to be closed, to signify end of sent data. There shout be
a documented way to perform this.
Some people in the news have said that you could close the apropiate
Stream returned by the socket. This hasn't worked for me,
besides it would be an undocumented feature. One that I couldn't
expect to remain true between releases. However, this could
be a way to implement shutdowns in the API: when the Stream is closes
it has Socket call a new method shutdown in SocketImpl.
Bye!
(Review ID: 84871)
======================================================================
- duplicates
-
JDK-4035663 Sockets can not successfully close one side while continuing to use the other
-
- Resolved
-