HP 800 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 36
Set up the Data Transfer Environment
View all HP 800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 36 highlights
NOTE Figure 3-4 Using ACSE/Presentation Step 2: Establish an Association APRI also supports the binding of the local presentation address without specifying a network address. This allows a single responder to receive association indications for any of the subnetworks configured on an OTS/ 9000 system. To use this feature, when setting the local address through the AP_BIND_PADDR environment attribute, set the n_nsaps field of the ap_paddr_t structure to zero. When this feature is used, no local NSAP information need be provided in the ap_paddr_t structure. Rebinding the presentation address to a communication endpoint is not supported in this release. Binding to the presentation address can only be done in the AP_UNBOUND state. Bind Endpoint to Presentation Address Process A Process B AP Environment A AP_BIND_PADDR, a_p_set, a_t_set, a_s_set, a_nsap ap_set_env() ap_set_env() AP Environment B AP_BIND_PADDR, b_s_set, b_p_set, b_t_set, b_nsap Communication Endpoint A Communication Endpoint B Set up the Data Transfer Environment In order for Process A to communicate with Process B, Process A calls ap_set_env() using the AP_REM_PADDR attribute which contains the presentation address of Process B. (See Figure 3-5.) 36 Chapter 3