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

Negotiating Application and Presentation, Contexts - service manual

Page 51 highlights

Table 4-1 NOTE Programming Guide 2. Manage the A/P Environment ap_set_env(fd,AP_BIND_PADDR,paddress) Note that rebinding the presentation address is not supported in this release. Binding can only be done in the AP_UNBOUND state. A/P supports extended addressing which provides for the maximum address lengths for each selector in the presentation address as shown in the following table: Selector Maximum Lengths Selector Presentation Session Transport NSAP Bytes 16 16 32 20 Other OSI services implementations (non-HP) may not support the same maximum length for the presentation selector. If your system needs to communicate with other OSI services, make sure to check the maximum size supported for the presentation selector. The NSAP cannot be NULL. NSAPs used for ACSE/Presentation applications must be configured by the network administrator. T he NSAP must be unique for the system. The presentation address used by your ACSE/Presentation application must be different than any other presentation addresses used by other application services on your system if you plan to operate these applications at the same time. For example, if the HP 9000 FTAM service is being used, the address you create for A/P applications must be different than the FTAM addresses. See the Installing, and Administering the OSI Transport Services/9000 manual for more information o n presentation addresses. Negotiating Application and Presentation Contexts Both application contexts (specified using the AP_CNTX_NAME attribute) and presentation contexts (AP_PCDL attribute) must be negotiated by A/P associations. Chapter 4 51

  • 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 4
51
Programming Guide
2. Manage the A/P Environment
ap_set_env(fd,AP_BIND_PADDR,paddress)
Note that rebinding the presentation address is not supported in this
release. Binding can only be done in the AP_UNBOUND state.
A/P supports extended addressing which provides for the maximum
address lengths for each selector in the presentation address as shown in
the following table:
Table 4-1
Selector Maximum Lengths
NOTE
Other OSI services implementations (non-HP) may not support the same
maximum length for the presentation selector. If your system needs to
communicate with other OSI services, make sure to check the maximum
size supported for the presentation selector.
The NSAP cannot be NULL. NSAPs used for ACSE/Presentation
applications must be configured by the network administrator. T he
NSAP must be unique for the system. The presentation address used by
your ACSE/Presentation application must be different than any other
presentation addresses used by other application services on your system
if you plan to operate these applications at the same time.
For example, if the HP 9000 FTAM service is being used, the address you
create for A/P applications must be different than the FTAM addresses.
See the
Installing, and Administering the OSI Transport Services/9000
manual for more information o n presentation addresses.
Negotiating Application and Presentation
Contexts
Both application contexts (specified using the AP_CNTX_NAME
attribute) and presentation contexts (AP_PCDL attribute) must be
negotiated by A/P associations.
Selector
Bytes
Presentation
16
Session
16
Transport
32
NSAP
20