ACSE/Presentation and ROSE Interface Programmer's Guide

Chapter 3 39
Using ACSE/Presentation
Step 2: Establish an Association
Process B can reject the connection if the proposed transfer syntax is not
supported by setting the res field in structure ap_cdrl_t to USER_REJ or
PROV_REJ and prov_rsn is the reason for the reject. If the process
cannot accept the association request for other reasons, the process sets
the reason using the A_ASSOC_RSP primitive.
Figure 3-7 Confirm Association
Communication
Communication
Endpoint A
Endpoint B
Process A
Process B
AP Environment A AP Environment B
Initiator
Responder
ap_snd()
request assoc.
ap_poll()
(listening)
ap_rcv()
ap_get_env()
ap_set_env()
AP_PCDL,pcdl
AP_PCDRL.pcdrl