Click to open or copy the files for the MPing sample.
Click to open or copy the Shared directory (required).
Performs an echo test to a specified LU. APing can be used when you are first installing APPC on your computer to make sure you can connect to another computer in the network. APing can also be used to get an estimate of the delay time or throughput to another computer in the network.
APingD echos whatever is sent by APing. Keep receiving until you get permission to send. Send the same number of same size records.
There is a Snaenv.bat file to set environment variables, available via the SNA Samples topic.
This sample uses the following keywords:
alloc_cpic_buffer; closehandle; cmaccp; cmcfmd; cmepln; cmsend; cmsltp; cmsptr; cmsst; cmwait; controlhandler; cpicerr_destroy; cpicerr_exchange_version; cpicerr_handle_rc; cpicerr_new; cpicerr_set_conv_id; cpicerr_set_log_file_name; cpicerr_set_log_file_path; cpicerr_set_major_version; cpicerr_set_minor_version; cpicerr_set_program_info; cpicerr_set_program_name; createevent; createthread; debugbreak; do_exit; free_cpic_buffer; getlasterror; registerservicectrlhandler; servicemain; setevent; setservicestatus; startservicectrldispatcher; threadstart; tpstart; waitforsingleobject; wincpiccleanup; wincpicstartup; write_output