2.3.1 ATMI Client Request/Response to Host CPI-C
Figure 2-21 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpcallforSIMPCPIC, which is advertised in the DM_REMOTE_SERVICES section of the DMCONFIG file. - The remote service with the
tpnameTPNCPICinvokesTOUPCPICprogram. - The server accepts the conversation with the
cmaccpcall. The conversation id returned on the request inconvidis used for all other requests on this conversation. - The
cmrcvrequest receives theidatabuffer contents for processing. - The
TOUPCPICprogram processes data. - The
cmsstrequest prepares the next send request by setting the send type toCM_SEND_AND_DEALLOCATE. - The
cmsendrequest returns theobuffercontents into the clientodatabuffer. The buffer is flushed, and the conversation ended.
Parent topic: CPI-C Programming Examples