DCE Application Programming Guide
NonStop DCE Application Development 
Environment
HP NonStop DCE Application Programming Guide—429551-003
1-3
Application Development Environment
°
The RPC API, which supports RPC clients, servers, and management 
programs include these functions:
•
Functions to control the initialization and management of the RPC
run-time code
•
Endpoint-map service functions
•
Binding functions, including the RPC name service interface (NSI) 
functions, which provide an RPC-specific layer over the DCE cell directory 
service (CDS)
•
Security functions that provide support for authenticated RPC
•
DCE server management functions
•
Universal unique identifier (UUID) functions
°
The RPC run-time library, which supports the RPC API and two RPC protocol 
sequences:
•
Datagram protocol over User Datagram Protocol/Internet Protocol 
(UDP/IP), identified as the ncadg_ip_udp protocol.
•
Connection protocol over Transmission Control Protocol/Internet Protocol 
(TCP/IP), identified as the ncacn_ip_tcp protocol.
°
The UUID generation utility uuidgen, which generates UUIDs and interface 
definition file templates containing UUIDs
•
DCE threads, which provide a set of procedures to create multithreaded programs, 
with syntax and semantics based on the Threads Extensions for Portable 
Operating Systems (POSIX 1003.4a - draft 4). Note that DCE threads do not 
conform to the final POSIX standard for threads.
DCE threads allow multiple flows of control within a program. Each thread has its 
own execution stack and program counter. All threads created within a process 
share the process address space and process state.
DCE threads are used by the other DCE components, including the DCE system 
demons and the DCE shared run-time library (SRL) (D-series and G-series 
systems) or dynamic-link library (DLL) (H-series systems). The threading capability 
is also available to application programs.
The DCE threads API include these types of functions:
°
Thread creation and management
°
Thread scheduling
°
Thread synchronization
°
Error handling
DCE threads also include these extensions to the POSIX 1003.4a (draft 4) 
standard:
°
Thread-based exception handling










