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.
Classes used
-
RSessionBase
: client side session -
CServer2
: the server base class -
CSession2
: the server's session class
一个server应该指一个exe吧。
这个exe要实现特定的类而已。
server实现一般用到CServer2和CSession2
client端实现RSessionBase