2 // needed for client interface
\r
3 #include "../version.h"
\r
4 #include "../ClientServer.h"
\r
5 #include "SimpleClient.h"
\r
8 // Connect to the server - default number of message slots = 4
\r
9 TInt RServSession::Connect()
\r
11 TInt r=CreateSession(KServerName,Version(),kDefaultMessageSlots);
\r
16 // Return the client side version number.
\r
17 TVersion RServSession::Version(void) const
\r
19 return(TVersion(KPicoMajorVersionNumber,KPicoMinorVersionNumber,0));
\r
23 TInt RServSession::SendReceive(TInt aFunction, TAny* aPtr) const
\r
25 return RSessionBase::SendReceive(aFunction, aPtr);
\r
29 TInt RServSession::Send(TInt aFunction, TAny* aPtr) const
\r
31 return RSessionBase::Send(aFunction, aPtr);
\r