preload_home preload_about preload_whatwedo preload_crew preload_contact preload_forexample preload_webhosting preload_careers preload_less

Sprocketology - The Cyber Sprocket Blog

» One More Reason I Hate Microsoft

Posted by Lance

What company in their right mind, other than Microsoft, would release a programming environment where they document methods of properties that don’t exist?

I ran into this gem while attempting to program functional network socket clients in the Visual Studio IDE using the ever-so-awesome (read bloated) .Net Framework:

NetworkStream..::.Flush Method
Flushes data from the stream. This method is reserved for future use.

 

What the heck?

Have any other wonderful Microsoft gems like this one? Please share!

4 Responses to “One More Reason I Hate Microsoft”

  1. Chris Rasys Says:

    my favorite was always the line in the old win 3.1 startup config that told the system to wait for 3 seconds so as to appear to be loading important stuff.

  2. Craig Says:

    Chris -

    Seriously? You have a link about this Win 3.1 phenomenon? Consider my interest piqued.

  3. Chris Rasys Says:

    Buggers, I can’t find any sites talking about it. But there’s not a whole lot of win3.1 stuff hanging around out there anymore

  4. Paul Grimes Says:

    Lance-

    From the remarks on the MSDN page.

    The Flush method implements the Stream.Flush method; however, because NetworkStream is not buffered, it has no affect on network streams. Calling the Flush method does not throw an exception.

    Apparently when diving deeper into the Stream.Flush mehtod you get this response.

    Override Flush on streams that implement a buffer.

    So I think they left this to the do it yourself category.

Leave a Reply