|
|
This appendix describes the sample assembler program, TTCP, included with your Cisco IOS for S/390 software.
A sample assembler application program is included in the Cisco IOS for S/390 SAMP library. You can print the program, or you can browse or edit it online. If you plan to use the sample program as a template, you should first copy it so you do not destroy the source.
The sample program includes the source for the TTCP TSO command processor, a test program for exercising Cisco IOS for S/390 and the API functions. It is based on the UNIX ttcp programs. Information on its usage is given in the Cisco IOS for S/390 User's Guide.
The program is simple and is extensively commented to assist a prospective API programmer in designing and coding an application program.
The program consists of these members:
| TTCPCP | Command processor front end to TTCPR and TTCPT routines. |
| TTCPMSGS | Contains the TTCP message definitions. |
| TTCPR | TTCP receiver listens for a connection request and attaches a processing subtask part of the TTCP receiver operation. |
| TTCPRST | TTCP receiver subtask receives data using overlapped TRECVs with ECB posting on completion. |
| TTCPT | TTCP transmitter sends data using overlapped TSENDs with ECB posting on TSEND completion. |
|
|