Per-Line Settings

The per-line settings specify which lines the RAS server will use to listen for incoming connections from clients, and to specify settings on an individual line basis.

The per-line registry settings are located under the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Line\<DeviceName>\ registry key.

You can discover available device names by using the RasEnumDevices function.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ppp\Server\Line\<DeviceName>\ registry key.

Value : type Description
Enable : REG_DWORD Default setting is 0. Specifies whether incoming connections are enabled on the line. Setting this value 1 will enable incoming connections on the line./
DeviceType : REG_SZ Specifies the type of device. This setting is one of the following RASDT_xxx values from sdk\inc\ras.h:
  • "direct"
  • "modem"
  • "vpn"
  • "PPPoE"
DeviceInfo : REG_BINARY Specifies device configuration information, which is opaque to the RAS server. This information is used to configure the device when it is being initialized to listen for incoming connections.
Flags : REG_DWORD Default setting is 0. This value specifies a set of per-line configuration options. It is a bitmask of the following option values:
  • 0x01 - Requires data encryption on client connections
  • 0x02 - Allows unauthenticated access to the server
  • 0x04 - Prevents the use of VJ header compression
  • 0x08 - Prevents the use of data compression

This value is identical to the Global Server Flags value. The flags in use for a particular line are determined by ORing together the global flags with the per-line flags.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.