Sunday, 18 August 2013

Will the strams associated with sockets closed automatically when the socket is closed?

Will the strams associated with sockets closed automatically when the
socket is closed?

I am using Java sockets (TCP) to communicate with the server. My question
is, Will the input and output streams associated with a socket is
automatically closed, when the socket is closed? is it safe to do that?

No comments:

Post a Comment