Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Inter Process Communication in Symbian

From Wiki
Jump to: navigation, search
Article Metadata
Created: savaj (08 Mar 2009)
Last edited: hamishwillee (14 Jun 2013)


Inter Process Communicaton

Sometime communication between two processes requires to accomplish a task. Symbian OS provides client-server architecture for IPC.

Read the following sections for more theoretical explanation.

Lets take an example of communication between two applications, ClientApplication and ServerApplication.


  • Create a class and derive it from RSessionBase.
  • Create Session with server using RSessionBase::CreateSession(). //for creating session server must be running on there side.
  • Send messege through RSessionBase::SendReceive(). // first parameter is message id, second is message.


  • Create a class and derive it from CServer2 and CSession2.
  • Start a server using CSever2::StartL().
  • Create a session with CServer2::NewSessionL().
  • Receive message in CSession2::ServiceL().

Note: For second edition use CServer,CSharableSession instead of CSever2 and CSession2.

External Links.

InterProcessCommunicationOverview And ClientServerOverview

Internal Links.

This page was last modified on 14 June 2013, at 07:05.
89 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.