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…

19

TDI Client to Winsock Kernel (WSK) Porting Survey

As you know per previous posts on this blog, Winsock Kernel, a new transport-independent kernel mode Network Programming Interface (NPI), is available on Windows Vista and Windows Server Longhorn platforms.  On Windows Vista & Windows Server Longhorn, TDI is still supported for compatibility reasons; however, it has been implemented using a translation layer and thus…

4

Network Programming with Winsock Kernel (WSK)

Winsock Kernel (WSK) is the latest network programming interface introduced by the WNDP team in Windows Vista. As evident by its name, WSK can be used by kernel-mode drivers for sending and receiving data over the network. But less evident to many developers, WSK is not an interface for performing network “filtering”. Hence, to clarify…

2

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