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 (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=40&SiteID=1).  His post can be found here:  http://blogs.msdn.com/joncole/archive/2006/03/20/555721.aspx 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…

2

WinINet ETW Tracing Support in Windows Vista

In order to enhance debugging of wininet.dll for application developers, Microsoft has added ETW tracing support for this component. The feature will be available beginning with Windows Vista Beta 2 builds.   To use the feature, wininet.dll users should open a command prompt window with elevated privileges: 1.                  Click the Start button, point to All…

3

TOS and DSCP

Some weeks ago I described 802.1p. It’s a way to color traffic on your local network segment. If you have network equipment aware of this tag, you can get strict prioritization at these hops. Still, the tag is at layer-2 and not layer-3; your average IP router won’t do anything with the tag. It’s quite…

7

What’s next on the client HTTP stack front

http://www.microsoft-watch.com/article2/0,2180,1940567,00.aspHachamovitch acknowledged Microsoft already is building the next two versions of IE. He declined to offer guidelines on delivery schedules or feature sets, other than to say one of the two versions will include “a complete reworking of the networking stack.” That would be us. We are going to be busy for awhile 🙂 –…

6

CNet gives a quick look at Vista Networking

CNet wrote some nice words about Windows Vista, especially the QoS work: NetworkingWindows Vista will come with a completely reworked networking stack. The next-generation TCP/IP stack will work with IPv4 and IPv6, and will also support auto-tuning and quality-of-service features. Wireless traffic will receive numerous boosts in technology to better accommodate for lost packets, bad…


Update IE7 Beta 2 Preview available

There is an updated IE7 Beta 2 Preivew. Go get it!Also go visit the IE blog entry on the release. Update: The web page is updated but the underlining installer binary is older. I just confirmed the updated download. — Ari Pernick

1

Introduction to Winsock Kernel (WSK)

Overview of WSK   In Windows Vista a new transport-independent kernel mode Network Programming Interface (NPI) called Winsock Kernel (WSK) has been added.  Using WSK, kernel-mode software modules can perform network communication using socket-like programming semantics similar to those supported in user-mode Winsock2.  While the WSK NPI supports most of the same socket programming concepts…

7

Winsock and Vista User Account Control

As you might have heard, Vista introduces User Account Control (UAC) which is a security feature that enables users to perform some tasks as non-Administrators. This has an effect on LSP writers as the Winsock functions to install and remove LSP entries can only be called as an Administrator. On Vista there is a difference…

2

Categorizing LSPs and Applications

In Windows Vista there is a new method for categorizing both Winsock Layered Service Providers (LSP) and applications themselves such that only certain LSPs will be loaded. There are a couple reasons for adding this functionality. One of the main reasons is certain system critical processes such as WinLogon and LSASS create sockets but do…

17

What is the problem with 802.1p?

With 802.1q and 802.1p (see the introduction for background), we have a means to color traffic on Ethernet. Hopefully, there’s a network element (such as a switch) that can use this information to prioritize our traffic appropriately. So what can go wrong? In an ideal world, you’d think that, at worst, the middle network elements…

9