Overview: Network I/O Redirection

Last reviewed: September 18, 1996
Article ID: Q103878

Network I/O Redirection

When a device identifier (for example: f:, p:, lpt1:) is redirected to a remote resource in a network command such as

    NET USE F: \\SERVER\SHARENAME

the network software that carries out the redirection sets flags in the operating system's internal device table indicating that the device is remote. File handles for files that are subsequently created or opened on these remote devices are likewise flagged as remote.

When the operating system receives an I/O request--by way of an MS-DOS interrupt x21 or OS/2 API call--directed to a remote device or file, it passes the request to the network redirector instead of calling a local device driver. The redirector formats the I/O request so that it can be understood by the owner of the remote device, the server, and sends it on its way through the network.

The network services provided by the operating system and the redirector generally map to the OSI application layer.


KBCategory: kbnetwork
KBSubCategory: msna



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.