home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!microsoft!hexnut!alistair
- From: alistair@microsoft.com (Alistair Banks)
- Subject: Re: Getting DOS TCP/IP software to work with NT
- Message-ID: <1992Nov09.073534.14267@microsoft.com>
- Date: 09 Nov 92 07:35:34 GMT
- Organization: Microsoft Corporation
- References: <1992Nov5.031150.12271@ucsu.Colorado.EDU> <EBROWN.92Nov5161748@bud_light.kodak.com> <1992Nov6.030904.2122@u.washington.edu>
- Lines: 49
-
- >>In article <1992Nov5.031150.12271@ucsu.Colorado.EDU> ushomirs@spot.Colorado.EDU (USHOMIRSKIY GRIGORIY) writes:
- >>
- >> I remeber reading here that Win NT's network drivers are similar to NDIS.
- >> In this case it seems to be easy to get any dos TCP/IP software that uses
- >> packet drivers or NDIS to work with NT.
-
- Windows NT has a very distinct "user-mode" and "kernel-mode" - apps are run
- in user-mode, and can't use kernel-mode APIs, and drivers are written in
- kernel-mode.
-
- The NDIS 3 interface in Windows NT is a kernel-mode interface to support
- network interface cards. Generally, network transports are written as
- drivers, and therefore interface with the NDIS 3 layer, and export an
- interface called "TDI". TDI is also a kernel interface - network file
- systems interface to TDI, and themselves are most often written as
- kernel-mode services.
-
- Windows Sockets, named pipes, netbios, Remote Procedure Calls, are all
- user-mode network IPC mechanisms. Applications would choose to write
- to one of these.
-
- The only interface between user-mode and kernel-mode is an ioctl-style
- interface (very unfriendly) - so we provide a bunch of "friendly"
- code between TDI and an appication, which live inside the Windows
- Sockets implementation. We believe that Windows Sockets will in fact
- be useable for more transports that tcp/ip under Windows NT, and
- are hoping to match ipx/spx and appletalk and others.
-
- The Windows Sockets API may not be a perfect match for all the
- esoteric functionality of each peculiar transport, but it is
- enough for everyday applications which require common network
- functionality.
-
- If some specific unique functinality of a new trasnport is
- required, then some more "easy glue" needs to be written by
- that vendor between the kernel-mode TDI & user-mode.
-
- Windows NT includes netbeui & tcp/ip trasnports - We've demoed
- most SNA transports on Windows NT now, also appletalk. DEC are
- working on DECNet, and various vendors are starting OSI work.
-
- Good transports are hard to write - we hope we've got most
- coverred
-
- If you want to do the kind of direct-interfacing to NDIS 3
- drivers, then you'll need the Windows NT Device Driver Kit, and
- you'll wish you'd just have been to the big DDK conference in
- Aneheim -- Alistair
- -- Alistair
-