SimpleServer
—simple serverThis pair of examples shows a simple use of the client server interface. The client, SimpleClient, has a single session with the server SimpleServer, implemented as a statically linked DLL.
The server must be built before the client. This requirement is
specified in the component description file, bld.inf
.
SimpleServer.mmp
is listed before SimpleClient.mmp
.
Build activities relating to particular .mmp
files are carried out
in the order in which they are listed in the bld.inf
file.
RSessionBase
: client side session
CServer
: the server base class
CSession
: the server's session class
Found in:
epoc32ex\Base\IPC\ClientServer\Complex
See ComplexClient: Client requiring multiple server subsessions.
This pair of examples shows a more complex use of the client server interface. The server, ComplexServer can support multiple subsessions within a single session. ComplexClient is the corresponding client code.
The server must be built before the client. This requirement is
specified in the component description file bld.inf
.
ComplexServer.mmp
is listed before ComplexClient.mmp
.
Build activities relating to particular .mmp
files are carried out
in the order in which they are listed in the bld.inf
file.
RSessionBase
: client side session
RSubSessionBase
: client side subsession
CServer
: the server base class
CSession
: server side session
CObject
: a reference counting object