6100 ADCCP Programming Manual

Application Tasks
Writing Applications that Use ADCCP
4–16 069225 Tandem Computers Incorporated
read-count
input
INT:value
specifies the number of incoming bytes the ADCCP protocol module will place in
the application buffer (that is, from the array specified by buffer.)
count-read
output
INT:ref:1
is for wait I/O only. It returns a count of the number of bytes that the ADCCP
protocol module actually placed in the application buffer.
tag
input
INT(32):value
is for nowait I/O only. The
tag
parameter is a double-word integer value that
you supply; it must uniquely identify the operation associated with the nowait
WRITEREAD call.
Considerations in Setting Line Options
A configuration change immediately influences action on the line. If multiple
applications use the line, be careful about any changes you make and when you make
them. To avoid problems, consider these strategies:
If applications use different values of line-configuration options, try to use
different lines for the stations they address.
Allow only the first opener to set or change the configuration, and issue the SET
CONFIGURATION request immediately after the OPEN call. Then you cannot
change options while any application has a session in progress.
See the Section 6, “Requests and Responses,” for a description of the (1) SET
CONFIGURATION request.