HOWTO: Use Serial Data Exchange with RAS

Last reviewed: August 13, 1997
Article ID: Q163136
3.51 4.00 WINDOWS kbnetwork kbhowto

The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Windows NT Server versions 3.51, 4.0
  • Microsoft Windows NT Workstation versions 3.51, 4.0
  • Microsoft Win32 Application Programming Interface (API) included with: - Microsoft Windows NT, versions 3.51, 4.00 - Microsoft Windows 95

SUMMARY

In a lot of situations it is necessary to exchange some serial data (such as user name, password, or other pre-authentication data) between an RAS client and RAS server before PPP framing starts. From a Windows 95 RAS client, you can accomplish this either programmatically or through user interaction. From a Windows NT RAS client, you can only accomplish this through explicit user interaction.

MORE INFORMATION

Server

With Windows NT 3.51 and above it is possible to create an RAS security add-on DLL with certain functions that are invoked before PPP framing starts. The functions in this DLL can carry out a serial data exchange with either a Windows 95 or Windows NT RAS client. For example, it can prompt the client for extra password, or receive input from some other hardware device on the client side. The Win32 SDK sample RASHOST (\MSSDK\SAMPLES\WIN32\WINNT\RASHOST) demonstrates how to write an RAS security DLL for Windows NT. Please see this sample's help file for more information.

Client

An RAS client can send and receive serial data (before PPP framing starts) from the RAS server in the following manner:

  1. By opening a terminal Window on the client site, the user can exchange serial data with the RAS server. This can be accomplished from either a Windows 95 RAS client or Windows NT RAS client. RAS automatically brings up the terminal window when the phone entry has been set to do so.

  2. In Windows 95 it is possible to carry out serial data exchange with the RAS server programmatically by creating a Session Management Module DLL. This DLL must be installed on the Windows 95 RAS client machine. The DLL allows a serial data exchange with the RAS server before PPP framing starts. The Windows 95 Session Management Module (SMM) is documented in the Windows 95 DDK (\DDK\DOCS\DESGUIDE\Network.doc). Note that at the present time SMM is not supported on Windows NT.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Leon Braginski, Microsoft Corporation


KBCategory: kbnetwork kbhowto
KBSubcategory: NtwkRAS
Additional reference words: 3.51 4.00 95
Keywords : kbhowto kbnetwork
Version : 3.51 4.00
Platform : WINDOWS


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: August 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.