Writing IP Agnostic Application Tidbits on Channel9

I have yet to write the third part in the series on writing ip agnostic apps, but in the meantime, Anthony Jones (Winsock Developer/Guru) and I chatted with Charles about the topic on Channel 9: https://channel9.msdn.com/Showpost.aspx?postid=265664  We had a great time creating the video.  It jumps around to many topics, but I suppose that is what we…


Writing IP Agnostic Applications (How to support IPv4 & IPv6)

With the adoption of IPv6 ever increasing (ie. it is the preferred protocol on Windows Vista) it is important that network aware applications support IPv4 and IPv6.  I have started a series of posts on our team blog discussing how one can go about writing internet protocol agnostic code….  Part 1 and Part 2 have…


System.Net.HttpWebRequest & pipelining

The System.Net.HttpWebRequest class in the .Net Framework implements a HTTP stack in managed code.  One of the features of the stack is that it supports HTTP pipelining.  Pipelining is the ability for an HTTP client application to send multiple requests on a connection before the server responds to the first request.  Wikipedia describes pipelining here:…


Winsock enhancements in Vista

We have made a number of improvements in Winsock for Windows Vista.  Recently we have detailed a few of these on our team blog: “Introduction to WSK” – a new kernel mode socket API: http://blogs.msdn.com/wndp/archive/2006/02/24/538746.aspx “Winsock and Vista User Account Control”: http://blogs.msdn.com/wndp/archive/2006/02/22/537082.aspx “Categorizing LSPs and Applications” http://blogs.msdn.com/wndp/archive/2006/02/09/529031.aspx 


Handling a timeout when reading network data

I have been involved in a number of forum posts and mail threads lately regarding reading data from a socket.  The typical situation is as follows: A TcpClient object is connected to a remote party. The application gets a reference to a NeworkStream object by calling the TCPClient’s GetStream method. The remote party begins sending messages…