Re: Sockets, writing data and shutdownOutput



> > Why don't you socket.shutdownOutput() in your main thread, after you;ve
> > fully received the web server's response? Why do you have to call it so
> > early, before having processed the reply?
>
> I want to make sure that even the last byte
> of data gets through to the server and is
> not lingering somewhere in an output
> buffer of the client.

That's the job of flush(), not shutdownOutput().


.



Relevant Pages

  • Re: Feature request for OS X
    ... SteerMouse supports up to 16 buttons, ... Some examples of where this comes in handy: my next and prev buttons, ... work for next / prev tabs in all my browsers and other tabbed apps ... my Usenet client, my RSS client, my text editor, etc. ...
    (comp.sys.mac.advocacy)
  • Re: Feature request for OS X
    ... SteerMouse supports up to 16 buttons, ... Some examples of where this comes in handy: my next and prev buttons, ... work for next / prev tabs in all my browsers and other tabbed apps ... my Usenet client, my RSS client, my text editor, etc. ...
    (comp.sys.mac.advocacy)
  • Re: Feature request for OS X
    ... Windows snapping to edge of screen. ... Some examples of where this comes in handy: my next and prev buttons, ... work for next / prev tabs in all my browsers and other tabbed apps ... client, my Usenet client, my RSS client, my text editor, etc. ...
    (comp.sys.mac.advocacy)
  • Re: Feature request for OS X
    ... the standard OS X speed controller is find as far as I am concerned). ... Some examples of where this comes in handy: my next and prev buttons, ... work for next / prev tabs in all my browsers and other tabbed apps ... client, my Usenet client, my RSS client, my text editor, etc. ...
    (comp.sys.mac.advocacy)
  • Read PDF and Stream to Client
    ... I am trying to read a local PDF file using an aspx page and flush it ... the client is broken because I am putting the stream into a string ... But how do I flush the stream as a binary file? ...
    (microsoft.public.dotnet.framework)