Re: Double streams





Okay, sorry, but I'm stumped then. =)

- Oliver

Thanks for trying, though. :) I think i'm missing something about how streams behave. Since closing the outputstream seems to flush it, it's gotta be close to working... maybe.

/Carsten
.



Relevant Pages

  • Re: TraceListener issue
    ... You can try closing the stream by using the Trace's Close method, ... You don't need an explicit call to Flush then. ... > i have a problem with TraceListener. ... > // Instantiate a new TextWriterTraceListener and specify the output ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Can someone explain what out.flush() does?
    ... to some documentation on it. ... To be pedantic, out could theoretically be any object, as long as that object implements the "flush" method, and the "flush" method could do anything. ... I'm guessing "out" here refers to "System.out" or some sort of OutputStream. ... The OutputStream has to store the data it's delaying somewhere, and the place where it stores it is called the "buffer". ...
    (comp.lang.java.help)
  • Re: Problem closing server connection
    ... > I'm developing a webapp using servlets, ... > the client) and writing it to OutputStream. ... > but still client keeps on waiting on the socket and it never get -1, ... > Thus server is not closing the socket even after closing the ...
    (comp.lang.java.developer)
  • [PATCH RESEND 1/3] RDMA/cxgb3: Flush the RQ when closing.
    ... Flush the RQ when closing. ... for kernel mode cqs, call event notification handler when flushing ... flush qp when moving from RTS -> CLOSING ...
    (Linux-Kernel)
  • [PATCH 1/3] RDMA/cxgb3: Flush the RQ when closing.
    ... Flush the RQ when closing. ... for kernel mode cqs, call event notification handler when flushing ... flush qp when moving from RTS -> CLOSING ...
    (Linux-Kernel)