SNAX/CNM Manual
 APPENDIX B
 SAMPLE PROGRAM: SENDING AND RECEIVING NMVT RUS
 The sample program serves as a Communications Network Application
 (CNMA). As such, it performs the following tasks:
 • Defines buffer structures
 • Hard codes NMVT RUs
 • Opens $SSCP
 • Issues a VERB^CONNECT
 • Checks the REPLY^CONNECT and saves the CONNECT ID
 • Sends NMVTs that request network information
 • Receives NMVTs that contain network information
 • Issues a VERB^STATISTICS to obtain line statistics
 • Receives a reply from $SSCP
 • Issues a VERB^DISCONNECT
 • Checks the REPLY^DISCONNECT and clears the saved CONNECT ID
 B-1










