EasyManuals Logo

HP 800 Programmer's Guide

HP 800
109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #44 background imageLoading...
Page #44 background image
44 Chapter 3
Using ACSE/Presentation
Step 5: Closing the Communication Endpoint
Step 5: Closing the Communication
Endpoint
Finally, both processes use ap_close() to close down the communication
endpoint (file descriptor) and A/P environment resources (see Figure
3-11). If the association is still alive when ap_close() is invoked, the
association will be aborted by the provider before the communication
endpoint is released.
When an association is terminated, you can re-use the communication
endpoint for a new association. ap_close() is used when there is no
further use for the communication endpoint.
CAUTION Resources allocated upon the initial ap_open() will not be released unless
an explicit ap_close() call is made for each endpoint or the process is
terminated.
Figure 3-11 Close the Association
Communication
Communication
Endpoint A Endpoint B
Process A
Process B
AP Environment A AP Environment B
Initiator
Responder
ap_close() ap_close()

Table of Contents

Other manuals for HP 800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 800 and is the answer not in the manual?

HP 800 Specifications

General IconGeneral
BrandHP
Model800
CategoryServer
LanguageEnglish

Related product manuals