Envoy Application Programming Manual

Table Of Contents
BISYNC Point-To-Point Protocol
Envoy Application Programming Manual427159-001
3-20
READ Procedure
The file-system errors shown in Table 3-11 can occur on a continuation READ.
Example 3-3. Continuation READ (Line in READ State)
Local Remote
line state = READ
CALL READ(...)
|
| ACKn -->
| <-- message n
(READ completes)
error = 0
line state = READ
CALL READ (...)
|
| ACKn -->
| <-- EOT
(READ completes)
error \ 163
line state = CONTROL
Table 3-11. Errors on Continuation READ for BISYNC Point-to-
Point (page 1 of 2)
Error
Number Description
Resultant Line
State
0 No error. Message is returned to buffer of the application
process.
READ
140 Modem error. READ
160 Request is invalid for device state; protocol error. unknown
161 Impossible event occurred for line state. unknown
162 Operation timed out. The acknowledgment was sent but no
message was received within the timeout and retry limits.
CONTROL
163 EOT received. CONTROL
164 For switched lines, the disconnect sequence (DLE EOT) was
received. Data terminal ready is cleared.
DISCONNECT
For nonswitched lines, the disconnect sequence (DLE EOT)
was received.
CONTROL