Symbian Developer Library

SYMBIAN OS V6.1 EXAMPLE CODE

[Index] [Previous] [Next]



Client server example code


SimpleServer—simple server

Found in: epoc32ex\Base\IPC\ClientServer\Simple

See SimpleClient.

[Top]


SimpleClient—simple client

Found in: epoc32ex\Base\IPC\ClientServer\Simple


Description

This 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.


Build Notes

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.


Usage

Run the example either under WINS or on the ARMI platform.


Classes used

[Top]


ComplexServer—server supporting multiple subsessions

Found in: epoc32ex\Base\IPC\ClientServer\Complex

See ComplexClient: Client requiring multiple server subsessions.

[Top]


ComplexClient—client requiring multiple server subsessions

Found in: epoc32ex\Base\IPC\ClientServer\Complex


Description

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.


Build Notes

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.


Usage

Run the example either under WINS or on the ARMI platform.


Classes used