精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>嵌入式开发>>协议栈开发>>NT协议栈图解>>NT的协议栈图解(6)

主题:NT的协议栈图解(6)
发信人: wenbobo(灌了拂衣去)
整理人: wenbobo(2002-09-22 17:48:17), 站内信件
TDI Drivers

The Transport Driver Interface (TDI) defines a kernel-mode network interface that is exposed at the upper edge of transport protocol stacks (see the following figure).



TDI Clients and Transports

TDI clients, which are kernel-mode drivers such as Redirector and Server, interface with such transports through TDI. TDI simplifies the task of developing transport drivers in that only the TDI interface needs to be coded. It also simplifies the task of developing clients by minimizing the amount of transport-specific code that must be written.

Transport drivers that expose only the TDI interface can be used only by TDI clients. To provide increased access to such transports, Windows 2000 and later versions include emulator modules for two popular existing network interfaces, Windows Sockets and NetBIOS. Each of these emulator modules exposes its native set of functions, which are accessible through standard call mechanisms in user mode. When called, the emulator module maps the native function and its associated parameters and procedural rules to one or more TDI functions, and then calls the indicated transport driver through TDI.

For increased performance, the TCP/IP and IPX/SPX transport drivers are implemented as native TDI transport drivers.


----
掬水月在手
弄花香满身


广州社区嵌入式开发版    广州社区C语言版     我的纯音乐网站

[关闭][返回]