DCE for the HP e3000 (B3821-90003)
34 Chapter4
DCE 1.2.1 Features and Programming Notes
RPC Changes
RPC Changes
Private Client Sockets
Previously a common pool of sockets was shared by concurrent RPC
requests. Making this concurrency work requires a “helper” thread
created to read from all of the open sockets, and passing received data
onto the call thread for which it is intended. With “Private client
sockets” there are a couple of sockets (2/3), which will only be used for
individual requests (private to the request thread). This reduces the
overhead of a “helper” thread, in case of small applications. When out of
private sockets, socket sharing comes into effect.
Exception Handling
The new version of RPC 1.2.1 supports the exception-handling feature
of RPC. The application developer can use the exception handling
routines (TRY, CATCH, CATCH-ALL etc.).