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

- ATMI client invokes
toupsrv
service. - The
toupsrv
service issuestpcall
forSIMPCPIC
, which is advertised in the DM_REMOTE_SERVICES section of the DMCONFIG file. - The remote service with the
tpname
TPNCPIC
invokesTOUPCPIC
program. - The server accepts the conversation with the
cmaccp
call. The conversation id returned on the request inconvid
is used for all other requests on this conversation. - The
cmrcv
request receives theidata
buffer contents for processing. - The
TOUPCPIC
program processes data. - The
cmsst
request prepares the next send request by setting the send type toCM_SEND_AND_DEALLOCATE
. - The
cmsend
request returns theobuffer
contents into the clientodata
buffer. The buffer is flushed, and the conversation ended.
Parent topic: CPI-C Programming Examples