Can i write to data output stream after reading response from data input stream?
        Posted  
        
            by Sirius
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sirius
        
        
        
        Published on 2010-05-19T02:32:40Z
        Indexed on 
            2010/05/19
            2:40 UTC
        
        
        Read the original article
        Hit count: 392
        
Hi, i want to do a client-server activity like this: 1. first the client sends/writes to output stream 2. the server responses with some data that will be read with input stream 3. after receiving the data, the client sends/writes to output stream again to respond that the data has been received
now, do i have to close the output stream and re-open it again before doing step no.3 ? also if someone could provide me with a snippet, it would be really helpful. thanks
© Stack Overflow or respective owner