RSC/MP Programming Manual
 4   RSC/MP Sessions 
This section describes RSC/MP sessions and describes how to begin and end them. 
Session Overview 
An RSC/MP session provides a context for the use of servers, transactions, and the 
Unsolicited Message Service (UMS). Use a session to perform these tasks: 
Communicate with Guardian named processes.
Communicate with Pathway servers through the Pathsend product.
Communicate with Pathway servers through a user-written Intelligent Device 
Support (IDS) requester. 
Control TMF transactions.
Receive and reply to unsolicited messages.
Beginning and Ending a Session 
The RscConnect function must establish a connection before the application calls the 
RscBeginSession function. The RscBeginSession function call refers to the connection 
handle established by RscConnect. 
The session type is specified in the RscBeginSession function with the uSessionType 
parameter. Session type constants are: 
RSC_ST_INTERPROCESS
  RSC_ST_IDS
Note.  Earlier versions of RSC/MP supported sessions of type RSC_ST_PATHWAY; this session 
type has been discontinued. Old client applications which attempt to create sessions of type 
RSC_ST_PATHWAY  will create RSC_ST_INTERPROCESS  sessions; application compatibility 
is not guaranteed. 
The RscBeginSession function establishes a session between a client program running 
on the workstation and the TDP on the NonStop host. 
The RscEndSession function terminates an RSC/MP session between the client 
workstation and the NonStop host. An application should call  the RscDisconnect 
function after calling the RscEndSession function. 
See  Figure 3-1 and  Figure 3-2 for a flowchart that shows these function calls.
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006 
4- 1 










