KnCmConnect()
KnCmConnect()
This function is declared in the coresrv/cm/cm_api.h file.
Retcode KnCmConnect(const char *server, const char *service,
rtl_uint32_t msecs, Handle *handle,
rtl_uint32_t *rsid);
This function sends a request to create a channel with the server process. This function is called by the client process.
Input parameters:
serveris the name of the server process that provides the endpoint.serviceis the fully qualified name of the endpoint (for example,blkdev.ata).msecsis the timeout for accepting the request, in milliseconds.
Output parameters:
handleis the client IPC handle.rsidis the endpoint ID.
If successful, the function returns rcOk, otherwise it returns an error code.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.