2.3.5 ATMI Conversational Client To Host CPI-C, Client Retains Control
Figure 2-25 DMCONFIG File Entry

- ATMI client invokes
toupsrvservice. - The
toupsrvservice issuestpconnectforSIMPCPIC, which is advertised in the DM_REMOTE_SERVICES section of the DMCONFIG file. The TPSENDONLY indicates the client retains control and continues to send data. No data is sent with thetpconnect. - The remote service with
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 thetpsendidatabuffer contents for processing. The conversation is relinquished with theTPRECVONLYflag. - The
TOUPCPICprogram processes data. - The
cmsendreturns a response in thetprecvidatabuffer, along with notification from thecmdealcommand that the conversation is over. Thecmdealflushes the data buffer and thetprecv reeventparameter is set toTPEV_SUCCESS.
Parent topic: CPI-C Programming Examples