HP 800 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 33

Step 1: Create a Communication, Endpoint

Page 33 highlights

Using ACSE/Presentation Step 1: Create a Communication Endpoint Figure 3-1 Step 1: Create a Communication Endpoint Process A and Process B must both create communication endpoints as shown in Figure 3-1, using the call ap_open(). A communication endpoint is a file descriptor (fd) which is returned on successful completion of the ap_open() call. The process uses the file descriptor in all subsequent A/P calls. Each process must create a communication endpoint, and only one association can be associated with each endpoint. To create multiple associations, you must create additional communication endpoints for each one. Create a Communication Endpoint Process A Process B ap_open() Communication Endpoint A ap_open() Communication Endpoint B Chapter 3 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

Chapter 3
33
Using ACSE/Presentation
Step 1: Create a Communication Endpoint
Step 1: Create a Communication
Endpoint
Process A and Process B must both create communication endpoints as
shown in Figure 3-1, using the call ap_open(). A communication endpoint
is a file descriptor (fd) which is returned on successful completion of the
ap_open() call. The process uses the file descriptor in all subsequent A/P
calls.
Each process must create a communication endpoint, and only one
association can be associated with each endpoint. To create multiple
associations, you must create additional communication endpoints for
each one.
Figure 3-1
Create a Communication Endpoint
Communication
Communication
Endpoint A
Endpoint B
ap_open()
ap_open()
Process A
Process B