Hello Sheetal, > I want to pass the InputStream to > the other client. As I see,Once the connection is closed, The stream > will be invalidated. I want to have the reference even after closing > the connection. Can I do that.
No. Sorry. You'll have to get the data as a byte array (which is strongly discouraged) or copy it yourself from the InputStream (with appropriate length checking). Then you can create a new ByteArrayInputStream on top of the copied data. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
