I use the IPC RSessionBase CServer2 method to implement a client App and a server App.
They communicate with each other work well.
But the API RSubSessionBase::SendReceive(TInt aFunction, const TIpcArgs &aArgs, TRequestStatus &aStatus) has limited MaxLength.
If I set the aArgs to TIpcArgs args(aPtr) which aPtr has a MaxLength is 10k, When the Server send a buffer which length more than 10k to client by RMessage2.WriteL(0, aDes);
They will occer Leave and the client can not received the whole buffer from Server.
Is there any other API can support server App send unlimited length buffer to client App?