<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="About the Environment Variables" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-US" xml:lang="en-US" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Environment Variables Clients</title>
        <link href="SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="Resources/Stylesheets/SFNT_Flare.css" rel="stylesheet" />
        <script src="SkinSupport/MadCapAll.js">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop" style="display: none;"><a href="../Default_CSH.htm#EnvVariables_Clients.htm" style="font-weight: bold;">Open the Table of Contents</a>
        </p>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="About the Environment Variables.htm">About the Environment Variables</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">For Clients</span>
        </div>
        <h1>Environment Variables for Clients</h1>
        <p>The following environment variables are commonly used on client computers 
 connected to the network.</p>
        <p class="SFNT_Note">In case of 
 stand-alone licensing, the following environment variables are ignored.</p>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_244945034_0" onclick="FMCDropDown( this ); return false;" name="LSTCPIPV"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSTCPIPVER - Sets the  Client-side IP </a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_244945034_0" style="display: none;">
                <p>The LSTCPIPVER environment variable is used for setting the client's IP for communicating with the RMS License Manager. </p>
                <ul>
                    <li class="Bullets_1" value="1">Specify 6 to set IPv6. </li>
                    <li class="Bullets_1" value="2">Specify 4 to set IPv4 (this is the default setting).</li>
                </ul>
                <p>The RMS License Manager can serve both types of clients—communicating through IPv4 and IPv6. A client can contact a License Manager using any one of the protocols.<a name="kanchor28"></a></p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_244945034_1" onclick="FMCDropDown( this ); return false;" name="LSHOST"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSHOST - Set the License Manager Name</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_244945034_1" style="display: none;">
                <p>The LSHOST environment variable is used on a computer that is running 
 a protected application. It tells the application one or more License Manager computers to contact. </p>
                <p>When this variable is not set then the application will perform a broadcast 
 for any License Manager that can authorize the application to run. </p>
                <p>When the variable is set, the application will send directed call to 
 the License Managers that are in the LSHOST list along with broadcast to the network. 
 The application will traverse the list of responded License Managers beginning 
 at the first License Manager in the list and moving down the list. If none 
 of the specified License Managers is found, then the application will pick 
 the first License Manager that responded to broadcast. The wait for License Manager 
 response time when LSHOST is set is same as broadcast interval. </p>
                <p>Separate License Manager host names with a tilde (~). A colon (:) was used to separate License Manager host names up to RMS v8.2.x. For example, <span style="margin-left: 0px;">use the following command: </span></p>
                <p class="code" style="margin-left: 40px;">SET LSHOST=ACCT_SERVER~FINANCE_SRV</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_244945034_2" onclick="FMCDropDown( this ); return false;" name="LSFORCEH"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSFORCEHOST - Select a Single License Manager</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_244945034_2" style="display: none;">
                <p>You can use the LSFORCEHOST environment variable to force the application 
 to look for only one License Manager computer. If the License Manager listed 
 in the variable cannot be found, the application stops broadcasting and 
 returns an error. LSFORCEHOST overrides a LSHOST environment variable 
 or LSHOST/lshost file, and prevents a network broadcast from being done. 
 </p>
                <p>For example:</p>
                <p>To tell licensed applications running on a Windows computer to send 
 license requests to a computer on the same subnet 
 called ACCT_SERVER 
 and no other License Manager, use the following command: </p>
                <p class="code">SET LSFORCEHOST=ACCT_SERVER</p>
            </div>
        </div>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>