2.3.8 Host CPI-C to ATMI Server Request/Response
Figure 2-28 DMCONFIG File Entry

- The CPI-C application program MIRRCPIC is invoked using environment start-up specifications.
- The
MIRRCPIC
client requestscmini
t to establish conversation attributes and receive a conversation id that will be used on all other requests on this conversation. The remote server and service are named in the CPI-C side information entryMIRRSIDE
. - The
cmallc
request initiates the advertised service mapped toMIRRORSERV
in the DM_LOCAL_SERVICES section of the DMCONFIG file. - The
cmsst
request prepares the next send request by setting the send type toCM_SEND_AND_PREP_TO_RECEIVE
. - The
cmsend
request immediately sends the contents ofobuffer
to the ATMI service in thetpsvcinfo->data
buffer and relinquishes control to themirrorserv
service. - The
cmrcv
request receives the contents of theodata
returned on the ATMItpreturn
service, and notification that the conversation has ended with the return code value ofCM_DEALLOCATED_NORMAL
.
Parent topic: CPI-C Programming Examples