My sentiments exactly. An in-house joke that we have here in the office is that if you need to dig into the MSDN library for something ... better bring a backhoe ...
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Raul Miller Sent: Tuesday, January 05, 2010 12:17 AM To: Programming forum Subject: Re: [Jprogramming] C# .NET COM JDLLServer On Sun, Jan 3, 2010 at 8:50 AM, Matthew Brand <[email protected]> wrote: > I would never claim to know what I am doing wrt to sockets (I barely > understand them) but I got the c# loop from: > http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx In my experience, microsoft's documentation seems to be written, quite often, by people that have no idea what the systems in question are supposed to be used for. I have seen important issues go unmentioned. I have seen code that takes 30+ lines to do something that could have been done in one or two I have seen documentation which adds nothing which could not have been gleaned from the names of the things being documented. Etc. I would not assume that their example code is bullet proof. Most likely the original author ran it through one test case and went on to document something else. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
