HP 800 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 34
Step 2: Establish an Association
View all HP 800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
Using ACSE/Presentation Step 2: Establish an Association Figure 3-2 Step 2: Establish an Association The steps to establish an association are described below. Initialize the A/P Environment To use the A/P services, each process must initialize the ACSE/Presentation environment by calling ap_init_env(). (See Figure 3-2.) The ap_init_env() call allocates memory for the environment attributes, and sets the attributes to default values. (See the AP_ENV Table of Attributes in Appendix A for more information.) Since this implementation does not support the environment file, the env_file parameter is ignored. To modify defaulted attribute values, the ap_set_env() call is used as shown in the following steps. Initialize Environment Process A Process B AP Environment A ap_init_env() AP Environment B ap_init_env() Communication Endpoint A 34 Communication Endpoint B Chapter 3