HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Sample Java CPI-C Transaction Program
Overview
Chapter 5 327
Overview
The sample Java CPI-C program, JPing (in the file
/opt/sna/samples/JPing.java) is a simple Java implementation of the
standard APPC function aping, which is used to check connectivity with
a remote node. For more information about aping, refer to the SNAplus2
Administration Command Reference.
You can optionally specify a symbolic destination name identifying the
partner LU to be contacted, the number of ping iterations to be
attempted, and the size of the information sent at each iteration.
For more information about the operation of the program, see the
comments in the program source file.