Creating IP Agnostic Applications – Part 2 (Dual Mode Sockets)

In a previous post I wrote about how on Windows Vista and Windows Server “Longhorn,” IPv6 is installed and enabled by default and that when both IPv4 and IPv6 are enabled, the TCP/IP stack prefers to use IPv6 over IPv4.  With the growth of IPv6, applications must now work seamlessly over both protocols (IPv4 & IPv6).  The…


Creating IP Agnostic Applications – Part 1

In Windows Vista and Windows Server “Longhorn,” IPv6 is installed and enabled by default.  When both IPv4 and IPv6 are enabled on these OSs, the TCP/IP stack prefers to use IPv6 over IPv4.  For example, APIs such as ConnectByName will attempt to connect first via IPv6.  See this post for a detailed discussion of address sorting….


Recent System.Net Related Postings

Recently, a number of current and former System.Net team members have posted about various managed code network programming topics: Proxy configuration with HttpWebRequest Socket programming considerations HttpWebRequst & Pipelining   Know of other System.Net related blogs?  If so, we eagerly await the URL(leave a comment with the URL) -Mike Flasko


Simple .NET TCP Framing Example

Recently, Jon Cole from the System.Net QA team posted a great article in response to questions we’ve received on our .Net Networking Forum (  His post can be found here: Excerpt from the article: A common misunderstanding for developers new to network programming over TCP sockets is how messages are sent and received.  I frequently hear…


.Net Framework 2.0 – What’s new

On October 27th the .Net Framework 2.0 was made available to MSDN subscribers and launch events will be start in early November.  To see an overview of whats new in the .Net Framework and the System.Net name space please see:   Mike FlaskoProgram Manager – WNDP


System .NET features and future

As many of you may already know, the release of Visual Studio .NET 2005 is right around the corner… hooray! As we put the final touches on “Whidbey” for the November 7th launch we are starting a parallel effort focused on planning for our next major release of Visual Studio, codenamed “Orcas”. As we switch…


Automatic Proxy Configuration in System.NET

MSDN Magazine recently published a great read on changes to web proxy functionality in the .NET Framework 2.0.  In the article, Take the Burden Off Users with Automatic Configuration in .NET, fellow WNDP team member and test lead for the managed network programming APIs (aka System.NET), Durgaprasad Gorti, gives new details about changes to web…


MSDN Magazine on Winsock/System.Net

MSDN Magazine for August 2005 has an article about System.Net.Sockets and WinSock by Daryn Kiely: Sockets are the transport mechanism most frequently used in high-performance server applications. Fortunately, the Win32® Windows® Sockets library (Winsock) provides mechanisms to improve the performance of programs that use sockets, and the Microsoft® .NET Framework provides a layer over Winsock…


Run ASMX without IIS

Back in late 2004, Aaron Skonnard wrote an interesting article that details how a developer can create a lightweight, special-purpose web server without IIS.  In his sample, Aaron chooses to host ASMX web services, but one could easily create other types of specialty web servers.  Interestingly enough along with hosting the ASP.NET Runtime the other enabling technologies that allow for…