home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / CPI-C.ZIP / APING.DOC next >
Text File  |  1992-07-22  |  29KB  |  684 lines

  1.  
  2.  
  3.   TERMINOLOGY
  4.  
  5.   TERM           DEFINITION
  6.  
  7.   TRANSACTION    An exchange between two programs that accomplishes a
  8.                  particular action or result.  Transaction programs are written
  9.                  in pairs, with both sides of the transaction cooperating to
  10.                  achieve a result.  The sides of a transaction program are
  11.                  known as "client" and "server."
  12.  
  13.                  Examples of transactions are:
  14.  
  15.                  o   sending a simple message
  16.  
  17.                  o   executing a specified procedure or task
  18.  
  19.                  o   updating a database entry
  20.  
  21.   CLIENT         Identifies the initiator of a transaction.  The client must
  22.                  specify the name of the other side of the transaction, known
  23.                  as the server.  The term client can refer to either a program
  24.                  or a computer.
  25.  
  26.   SERVER         Identifies the receiver of a transaction.  The server does not
  27.                  need to know the name of the client side of the transaction.
  28.  
  29.   PARTNER COMPUTER
  30.                  Identifies the "other" side of a transaction.  The partner of
  31.                  the client is the server, and vice versa.
  32.  
  33.   DESTINATION    The name used on the client to identify the server.
  34.  
  35.   APPC PLATFORM  Refers to the APPC implementation code running on a given
  36.                  computer.
  37.  
  38.  
  39.   USER'S GUIDE
  40.  
  41.  
  42.  
  43.   What Is APING?
  44.  
  45.   APING is a CPI-C program that should be the first program you configure and
  46.   run when first configuring APPC on your computer.  APING exchanges data
  47.   packets with a partner computer, and times how long the data transfer takes.
  48.   It can be used to get a coarse measure of the session setup time between two
  49.   computers, and the throughput and turnaround time on that APPC session.
  50.   APING can be used to determine whether a session can be set up between two
  51.   computers, and will display extensive error information if session allocation
  52.   fails.
  53.  
  54.   APING is made up of two transaction programs; APING, which runs on the client
  55.   side, and APINGD, which runs on the server side.
  56.  
  57.  
  58.   Using APING
  59.  
  60.   The simplest way to use APING is to specify only the partner destination
  61.   name.  For example, you can start APING with:
  62.  
  63.     APING destination
  64.  
  65.   What you actually specify in place of "destination" is described below.
  66.  
  67.   Running the APING program will result in a session allocation, which will be
  68.   timed.  Then APING will send 100 bytes to the partner, and receive the same
  69.   number of bytes, which will also be timed.  This will be done twice, since
  70.   the first timing is likely to include process startup time on the partner
  71.   side.
  72.  
  73.   The following describes all of the APING parameters:
  74.  
  75.     APING destination ╒optional parameters■
  76.  
  77.   The destination is the only required parameter.  You may specify any number
  78.   of the additional parameters.  If you specify any parameter more than once,
  79.   only the last parameter value will be used.
  80.  
  81.   PARAMETER EXPLANATION
  82.  
  83.   destination
  84.             Identifies the partner computer on which the APINGD server program
  85.             runs.
  86.  
  87.             May be either a CPI-C symbolic destination name or a partner LU
  88.             name.
  89.  
  90.             If the destination is a CPI-C symbolic destination name, it must be
  91.             1 to 8 characters and must be configured in your platform's
  92.             symbolic destination name table (see Configuration Guide below).
  93.             If the destination is a partner LU name, the format varies from
  94.             platform to platform.  See the Configuration Guide section for your
  95.             platform for more information about configuring and specifying
  96.             partner LU names.
  97.  
  98.   -m mode_name
  99.             mode name (default: "#INTER")
  100.  
  101.   -t tp_name
  102.             the TP name to start on the partner (default: "APINGD")
  103.  
  104.   -s N
  105.             N is the size of the packet transmitted (default: 100 bytes)
  106.  
  107.             This is the number of bytes sent in each Send call by each side.
  108.             You may specify a value from 0 to 32767.
  109.  
  110.   -i N
  111.             N is the number of iterations done (default: 2)
  112.  
  113.             The number of iterations will be seen in the output as the number
  114.             of sets of timing information that is shown.  You may want to
  115.             increase this number to get a larger sample of timings.  You may
  116.             specify a value from 1 to 32767.
  117.  
  118.   -c N
  119.             N is the number of consecutive packets sent by each side (default:
  120.             1)
  121.  
  122.             This is the number of Send calls issued by each side before giving
  123.             the partner permission to send.  For each iteration, each side will
  124.             make this number of Sends, each of the specified packet size.  You
  125.             may specify a value from 1 to 32767.
  126.  
  127.   -u userid
  128.             This is the userid that will be send to the partner.  The userid
  129.             can be 1-8 characters in length.  You should use this parameter
  130.             when the destination transaction program has been configured to
  131.             require security.  One indication that the destination transaction
  132.             program requires security is a CPI-C return code of
  133.             XC_SECURITY_NOT_VALID.
  134.  
  135.             Specifying this parameter implies the conversation will use CPI-C
  136.             security=PROGRAM.  A password must also be specified.  If a userid
  137.             is specified without a password, APING will prompt the user for a
  138.             password.
  139.  
  140.   -p password
  141.             This is the password that will be send to the partner.  The
  142.             password can be 1-8 characters in length.
  143.  
  144.   -n
  145.             This parameter forces APING to use NO security on the conversation.
  146.             (CPI-C security=NONE).  This should be used when you receive a
  147.             CPI-C return code of XC_SECURITY_NOT_VALID, but the destination
  148.             transaction program is not configured to require security.
  149.  
  150.   The following illustrates the simplified line flows that result when APING is
  151.   started with the following parameters:
  152.  
  153.     APING destination -s 10000 -i 2 -c 4
  154.  
  155.     LOCAL COMPUTER                    PARTNER COMPUTER
  156.     Allocate         ---------------> Accept Conversation
  157.     Confirm          ---------------> Confirmed
  158.     Send(10000)      ---------------> Receive
  159.     Send(10000)      ---------------> Receive
  160.     Send(10000)      ---------------> Receive
  161.     Send(10000)      ---------------> Receive
  162.     Receive          <--------------- Send(10000)
  163.     Receive          <--------------- Send(10000)
  164.     Receive          <--------------- Send(10000)
  165.     Receive          <--------------- Send(10000)
  166.     Send(10000)      ---------------> Receive
  167.     Send(10000)      ---------------> Receive
  168.     Send(10000)      ---------------> Receive
  169.     Send(10000)      ---------------> Receive
  170.     Receive          <--------------- Send(10000)
  171.     Receive          <--------------- Send(10000)
  172.     Receive          <--------------- Send(10000)
  173.     Receive          <--------------- Send(10000)
  174.     Deallocate
  175.  
  176.  
  177.   APING Output
  178.  
  179.   The output from the APING program is similar to the following:
  180.  
  181.     APING Version 2.0 - APPC echo test with timings.
  182.      By Peter J. Schwaller (pjs@ralvmc.vnet.ibm.com)
  183.  
  184.     Allocate duration:                           17 msec.
  185.  
  186.     Program startup and Confirm duration:       720 msec.
  187.  
  188.     Ping duration:      100 msec., data rate = 585.9 Kbytes/sec.
  189.     Ping duration:       60 msec., data rate = 976.5 Kbytes/sec.
  190.  
  191.     Min= 60    Ave= 80    Max = 100   Overall data rate = 725.0 Kbytes/sec.
  192.  
  193.  
  194.   The Allocate duration is how long it takes for the Allocate call to return to
  195.   the program.  The next call in APING is a Confirm call, which is timed to
  196.   determine the approximate program startup time of the partner transaction
  197.   program.
  198.  
  199.  
  200.  
  201.   The number of "Ping duration" lines will be equal to the number of iterations
  202.   requested (see the -i parameter above).  In this case, the default of 2 was
  203.   used.
  204.  
  205.   The last output line provides a summary of the ping duration lines already
  206.   displayed.  The minimum, maximum and average ping duration is displayed in
  207.   milliseconds.  The overall data rate for all pings is calculated and
  208.   displayed.
  209.  
  210.   Note that on some platforms the timer resolution is one second, or 1000
  211.   milliseconds.
  212.  
  213.  
  214.   CONFIGURATION GUIDE FOR APING
  215.  
  216.   The APING program consists of two sides:  the client computer side and the
  217.   server computer side.  On the client computer side, the user starts up the
  218.   APING program and specifies what actions should be taken.  As a result, the
  219.   APINGD program is started on the server computer side.  The APING and APINGD
  220.   programs then use communicate using CPI-C and complete the transaction.
  221.  
  222.   In order to get the client computer and the server computer to talk to each
  223.   other, both computers must be configured.  This configuration involves
  224.   defining certain APPC information to the APING programs and to the APPC
  225.   platform on the computer.
  226.  
  227.   The rest the Configuration Guide is divided into the following sections:
  228.  
  229.   o   APPC Configuration Overview
  230.  
  231.       This section describes the APPC information that must be provided to the
  232.       APPC platform.  If you are not familiar with APPC terminology or
  233.       configuration, you should read this section.
  234.  
  235.   o   Configuration Information for Specific Platforms
  236.  
  237.       These are the actual steps that should be done on the client computer and
  238.       server computer.  The directions are grouped by APPC platform.  You
  239.       should find the section for your platforms, and follow the steps
  240.       indicated.  The following platforms are described in this Configuration
  241.       Guide:
  242.  
  243.       -   Networking Services/DOS
  244.  
  245.       -   Networking Services/2 or Extended Services/2
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.   APPC CONFIGURATION OVERVIEW
  253.  
  254.   In order to successfully communicate with APPC from one computer to another,
  255.   you need to configure some information in your APPC platform.  This
  256.   information consists of:
  257.  
  258.   o   How to physically connect to another computer.
  259.  
  260.       You tell your APPC platform how to physically connect to another computer
  261.       by defining a link.  The link definition tells APPC information about how
  262.       to connect to the partner computer, including data link control
  263.       information.  The data link control represents the physical connection
  264.       (token-ring, SDLC, Ethernet, etc.) between two computers.  To connect to
  265.       the partner computer, the APPC link definition specifies both a data link
  266.       control and addressing information specific to that data link control.
  267.       For example, if you are using token ring as your data link control, you
  268.       will need to specify a token ring address in your link definition.  Some
  269.       data link controls, may not require any address information, since the
  270.       partner computer is implied to be on the other end of the physical
  271.       connection.  This is common with SDLC leased lines.
  272.  
  273.   o   How to identify and find the correct server computer.
  274.  
  275.       Computers are identified in APPC by their fully qualified LU name.  The
  276.       fully qualified LU name consists of two parts: a network name and an LU
  277.       name, concatenated with a period.  For example:
  278.  
  279.           USIBMNR.NR55069I
  280.  
  281.       Both the client and server computers must have fully qualified LU names
  282.       defined.
  283.  
  284.       LU names are viewed relative to the computer on which they are defined:
  285.       there are local LUs and there are partner LUs which are on partner
  286.       computers.  The local LU name for any given computer is the partner LU
  287.       name as viewed from another computer, and vice versa.
  288.  
  289.       Each APPC platform must define at least one local LU, which must be
  290.       unique within the network.  Since there are only up to 8 characters with
  291.       which to create a unique LU name, this can be somewhat challenging in
  292.       networks with many computers.  Some possible naming conventions for LUs
  293.       include:
  294.  
  295.       -   Assigning consecutive LU names (alphabetically increasing) under
  296.           central administration control.
  297.  
  298.       -   Incorporating something that is already unique to each computer.
  299.  
  300.           Examples include:
  301.  
  302.           --  Serial number of the computer
  303.  
  304.           --  Person number of the user
  305.  
  306.           --  Unique userid of the user
  307.  
  308.       On some APPC platforms, you must predefine the list of partner LUs that
  309.       the computer will be able to communicate with.  Other platforms allow you
  310.       to use any fully qualified LU name without having defined it beforehand.
  311.       The APPC platform will then dynamically find that LU in the network.
  312.  
  313.   o   What kind of connection should be made with the server computer.
  314.  
  315.       When the APING client program requests a connection with a partner LU,
  316.       the APPC platform establishes what is called a session between the local
  317.       LU and the partner LU.  The simplest session that can be established
  318.       occurs when the client computer and the server computer are directly
  319.       connected with a single APPC link.  The session goes directly from the
  320.       client computer to the server computer.
  321.  
  322.       If your network is larger and more complex, the client computer may be
  323.       connected to a network node computers rather than directly to the server
  324.       computer.  In this case, the session that is established may pass through
  325.       other computers in the network.  To add to the complexity, there may be
  326.       different paths through the network.
  327.  
  328.       The network will always choose the best path through the network for your
  329.       application.  Since different applications have different needs, APPC
  330.       provides a way for the application to specify the route characteristics
  331.       that are best for that application.  The application specifies a mode
  332.       name which contains all the routing characteristics required by the
  333.       application.  The characteristics associated with a mode include:
  334.  
  335.       -   Turnaround time
  336.  
  337.           How fast must data get through the network?
  338.  
  339.       -   Throughput
  340.  
  341.           How much data can get through the network?
  342.  
  343.       -   Cost
  344.  
  345.           Are you paying for physical connections between computers?
  346.  
  347.       Two modes which are commonly supplied with APPC platforms are #BATCH and
  348.       #INTER.  The definition for #BATCH specifies a path with good throughput
  349.       characteristics.  The definition for #INTER specifies a path with good
  350.       turnaround time.  If your platform does not supply a definition for these
  351.       modes, you can either define them on your platform, or use some other
  352.       mode that is already defined by specifying the mode name when you start
  353.       the APING client program.
  354.  
  355.   o   How to identify and start the correct program on the server computer.
  356.  
  357.       When the client computer establishes a connection with the server
  358.       computer, the server computer must make that connection with a particular
  359.  
  360.       server program.  To help the server computer identify the server program,
  361.       a transaction program name is sent from the client computer.
  362.  
  363.       The server program is identified by this transaction program (TP) name.
  364.       The TP name is a 1 to 64 byte string.  Becuase the actual execuable
  365.       program names can be different on various computers, the TP name is used
  366.       as a common identifier or an alias for the real program name.  In many
  367.       cases, the TP name and the real program name will be identical.
  368.  
  369.       On the client computer, the TP name is specified by the APING client
  370.       program and is the first thing sent by the client APPC platform to the
  371.       server APPC platform.  The client computer does need to have a TP name
  372.       definition configured.
  373.  
  374.       The server APPC platform then needs to know how to correlate the received
  375.       TP name with an actual program.  This is done through a TP definition,
  376.       which tells the server APPC platform which program should be started and
  377.       the application parameters and characteristics associated with the
  378.       program.  Some common things that can be configured are:
  379.  
  380.       -   The name and location (e.g., subdirectory) of the server program
  381.  
  382.       -   A list of users who can use the server program
  383.  
  384.       -   Parameters that should be passed to the program when it is started
  385.  
  386.  
  387.   PLATFORM SPECIFIC CONFIGURATION
  388.  
  389.   The following steps have been described for each APPC platform that APING has
  390.   been tested with:
  391.  
  392.   o   Networking Services/DOS
  393.  
  394.   o   Networking Services/2 and Extended Services/2
  395.  
  396.   Each platform will have the following information:
  397.  
  398.   o   General configuration tools
  399.  
  400.       -   Where and how configuration changes are made
  401.  
  402.       -   How to make your configuration changes take effect
  403.  
  404.   o   Configuration common to client and server computers
  405.  
  406.   o   Configuration specific to the client computer
  407.  
  408.       How to specify and identify where your server is and how to reach your
  409.       server.
  410.  
  411.   o   Configuration specific to the server computer
  412.  
  413.  
  414.       How to specify which clients can use the server and what server program
  415.       to start for when the TP arrives.
  416.  
  417.   Each platform also requires data link control configuration information.  In
  418.   all of the examples, token ring data link control configuration will be
  419.   shown.  For information about configuring other data link controls, see the
  420.   documentation for the specific platform.
  421.  
  422.  
  423.   Configuration for Networking Services/DOS
  424.  
  425.   o   General configuration tools
  426.  
  427.       -   Where and how configuration changes are made
  428.  
  429.           All configuration changes for Networking Services/DOS are made in the
  430.           Networking Services/DOS configuration file.  To make changes to your
  431.           configuration, you must edit the Networking Services/DOS
  432.           configuration file according to the directions below.  The default
  433.           configuration file is named CONFIG.NSD and is usually in the \NSD
  434.           subdirectory.  You may use another file name, but you will have to
  435.           specify that name explicitly when you use the NSD command (see
  436.           below).
  437.  
  438.       -   How to make your configuration changes active
  439.  
  440.           After you have edited your Networking Services/DOS configuration
  441.           file, you should use the NSD command to start NSD and activate your
  442.           configuration changes.  If you are using the default configuration
  443.           file, you should use:
  444.  
  445.             nsd start
  446.  
  447.           If you are using another Networking Services/DOS configuration file,
  448.           you should use:
  449.  
  450.             nsd start FILENAME
  451.  
  452.   o   Configuration common to client and server computers
  453.  
  454.       -   Defining a local LU
  455.  
  456.           Include an "nsdn" statement in your Networking Services/DOS
  457.           configuration file:
  458.  
  459.             nsdn USIBMNR.CLIENT_LU
  460.  
  461.           The name specified by the "nsdn" entry must be unique throughout your
  462.           network.
  463.  
  464.       -   Defining a partner LU
  465.  
  466.           --  If you are directly connected to your partner computer, include
  467.               "nsdc" and "trli" entries in your Networking Services/DOS
  468.               configuration file.  You must specify both the partner LU name
  469.               and the token ring destination address of the partner computer.
  470.               For example:
  471.  
  472.                 nsdc lan
  473.                 trli SERVER_LU,400000000001
  474.  
  475.           --  If you are connected to your partner computer through a network
  476.               node, "nsdc,"  "trli," and  "adrs" entries in your Networking
  477.               Services/DOS configuration file.  For example:
  478.  
  479.                 nsdc lan
  480.                 trli NN_LU,600000000002
  481.                 adrs SERVER_LU,NN_LU
  482.  
  483.               In this example, we specify a physical connection to our network
  484.               node, specifying the LU name of the network node (NN_LU) and the
  485.               token ring destination address.  We then specify that the LU name
  486.               SERVER_LU can be reached through the network node NN_LU.
  487.  
  488.           In both cases, change the token ring destination address in the
  489.           example to the address of the partner computer you are connecting to.
  490.  
  491.       -   Defining a link to a partner computer or to the network node
  492.  
  493.           The definition of the link has already been done in the partner LU
  494.           section above.
  495.  
  496.       -   Defining a mode
  497.  
  498.           Since Networking Services/DOS has already defined the IBM supplied
  499.           mode names, including #INTER, no mode definitions on Networking
  500.           Services/DOS are needed for APING.
  501.  
  502.   o   Configuration specific to the client computer
  503.  
  504.       No special configuration is needed for &nsd.  to configure the APING
  505.       client.
  506.  
  507.   o   Configuration specific to the server computer
  508.  
  509.       Networking Services/DOS does not support server transaction programs at
  510.       this time.
  511.  
  512.  
  513.   Configuration for Networking Services/2 and Extended Services/2 (OS/2)
  514.  
  515.   o   General configuration tools
  516.  
  517.       -   Where and how configuration changes are made
  518.  
  519.           To configure Networking Services/2 and Extended Services/2 use either
  520.           the Configuration Management panels or edit the Node Definitions File
  521.           (NDF).  Although the following examples show Node Definitions File
  522.           commands, you can enter the same information on the Configuration
  523.           Management panels.  Your Node Definitions File file will have the
  524.           same filename as your Communications Manager configuration file, but
  525.           with a file extension of "NDF."
  526.  
  527.       -   How to make your configuration changes active
  528.  
  529.           You must verify the configuration file after changes are made to the
  530.           configuration.  If you have edited the Node Definitions File, run
  531.           APPNV from an OS/2 Command prompt with the /e option to verify and
  532.           update your configuration.  For example:
  533.  
  534.             appnv WRKBASE.NDF /e
  535.  
  536.   o   Configuration common to client and server computers
  537.  
  538.       -   Defining a local LU
  539.  
  540.           During the Networking Services/2 and Extended Services/2 installation
  541.           process, at least one local LU was configured.  This is the LU that
  542.           will be used when you run the APING client.  When your computer is
  543.           acting as a server, this is the LU name that should be configured on
  544.           the client platform as the partner LU.
  545.  
  546.           You can find your local LU in the DEFINE_LOCAL_CP command In the
  547.           following Node Definitions File excerpt:
  548.  
  549.               define_local_cp  fq_cp_name(USIBMNR.CLIENT_LU)
  550.                                cp_alias(mylu)
  551.                                node_id(x'50000')
  552.                                node_type(en);
  553.  
  554.           The local LU is USIBMNR.CLIENT_LU.
  555.  
  556.       -   Defining a partner LU
  557.  
  558.           Since both Networking Services/2 and Extended Services/2 support
  559.           APPN, you do not need to define partner LU names.
  560.  
  561.           When your computer is the client, you will simply need to specify the
  562.           fully qualified name of your partner LU.  This fully qualified name
  563.           includes the network name and LU name concatenated with a period.  To
  564.           enable any partner to call you when your computer is a server, make
  565.           sure your Node Definitions File contains the following:
  566.  
  567.               define_defaults  implicit_inbound_plu_support(yes);
  568.  
  569.           An additional feature of defining partner LUs is that you can provide
  570.           an alias for the actual partner LU name.  For example, you could
  571.           define "server" to be an alias for USIBMNR.SERVER_LU.  Alias are case
  572.           sensitive; "SERVER" is a different alias than "server."
  573.  
  574.           If you choose to define partner LUs, either to provide an alias for
  575.           use when running the APING client, or to restrict the names of
  576.           partner clients that can contact you, use a "define_partner_lu"
  577.           command as follows:
  578.  
  579.               define_partner_lu  fq_partner_lu_name(USIBMNR.SERVER_LU)
  580.                                  partner_lu_alias(server);
  581.  
  582.       -   Defining a link to a partner computer or to the network node
  583.  
  584.           --  To define a link directly to your partner, your Node Definitions
  585.               File should contain a "define_link" command,
  586.  
  587.                   define_logical_link  link_name(link)
  588.                                        fq_adjacent_cp_name(USIBMNR.SERVER_LU)
  589.                                        adjacent_node_type(len)
  590.                                        dlc_name(ibmtrnet)
  591.                                        adapter_number(0)
  592.                                        destination_address(x'400000000001')
  593.                                        cp_cp_session_support(no)
  594.                                        activate_at_startup(no);
  595.  
  596.           --  To define a link to your network node, your Node Definitions File
  597.               should contain a "define_link" command,
  598.  
  599.                   define_logical_link  link_name(link)
  600.                                        adjacent_node_type(nn)
  601.                                        dlc_name(ibmtrnet)
  602.                                        adapter_number(0)
  603.                                        destination_address(x'600000000002')
  604.                                        cp_cp_session_support(yes)
  605.                                        activate_at_startup(yes);
  606.  
  607.               Note that the CP name of the network node does not have to be
  608.               specified on the "define_link" command.
  609.  
  610.           In both cases, change the destination address in the example to the
  611.           address of the partner computer you are connecting to.
  612.  
  613.       In order to allow other computers to configure links to your computer,
  614.       you will need to give them your local token ring address.  To find out
  615.       your own token ring address, look in the ACSLAN.LOG file in the \CMLIB
  616.       subdirectory.  Your token ring address appears in a line similar to the
  617.       following:
  618.  
  619.         Adapter 0 is using node address 400000000000.
  620.  
  621.   o   Configuration specific to the client computer
  622.  
  623.       No special configuration is needed for Networking Services/2 or Extended
  624.       Services/2 to configure the APING client.
  625.  
  626.   o   Configuration specific to the server computer
  627.  
  628.       -   Defining the TP
  629.  
  630.           Configure the APINGD program as follows.  Make sure the "filespec"
  631.           specifies the directory where the APINGD.EXE program resides.
  632.  
  633.             define_tp  tp_name(APINGD)
  634.                        filespec(C:\SAMPLES\APING\APINGD.EXE)
  635.                        tp_operation(nonqueued_am_started)
  636.                        program_type(vio_windowable);
  637.  
  638.           The "tp_operation" field indicates that a new copy of the APINGD.EXE
  639.           program should be started for every new client.  The "program_type"
  640.           field indicates that the program should be run in an OS/2 Window.
  641.  
  642.           Note that TP names are case sensitive.  The APINGD must be typed in
  643.           all upper case.
  644.  
  645.  
  646.   PROGRAMMER'S GUIDE
  647.  
  648.   This is a quick guide on how to recompile the source code on your platform.
  649.   You should only need to refer to this section if you did not receive the
  650.   executable code with APING, or if you are interested in making changes to the
  651.   APING source.
  652.  
  653.   See the appropriate makefile for your environment:
  654.  
  655.   MAKEFILE  ENVIRONMENT
  656.  
  657.   APING.OS2 Networking Services/2 or Extended Services/2 Only
  658.  
  659.             This makefile will build an OS/2 only executable.  You must have
  660.             the OS/2 Programmer's Toolkit installed.
  661.  
  662.   APING.FAM (Networking Services/2 or Extended Services/2) and Networking
  663.             Services/DOS
  664.  
  665.             This makefile will build a family API executable that will run in
  666.             either OS/2 or a DOS environment.  You must have the OS/2
  667.             Programmer's Toolkit installed, and both an OS/2 CPI-C platform
  668.             (Networking Services/2 or Extended Services/2) and Networking
  669.             Services/DOS
  670.  
  671.   APING.DOS Networking Services/DOS Only
  672.  
  673.             This makefile will build a DOS mode executable.  The OS/2
  674.             Programmer's Toolkit is NOT required.
  675.  
  676.   All of these makefiles are written for Microsoft C 6.0.  If you would like to
  677.   use them with IBM C/2, you will need to change the warning flag from "/W4" to
  678.   "/W3."
  679.  
  680.  
  681.  
  682.  
  683.  
  684.