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:
server
is the name of the server process that provides the endpoint.service
is the fully qualified name of the endpoint (for example, blkdev.ata
).msecs
is the timeout for accepting the request, in milliseconds.Output parameters:
handle
is the client IPC handle.rsid
is the endpoint ID.If successful, the function returns rcOk, otherwise it returns an error code.
Page top