Envoy Application Programming Manual

Table Of Contents
BISYNC Point-To-Point Protocol
Envoy Application Programming Manual427159-001
3-42
Programming Examples
Programming Examples
The examples in this subsection show the following operations:
Line Bid on page 3-42
Bid for line and then transmit message to remote (remote station then reads
message)
Limited Conversational Mode on page 3-49
Use of Reverse Interrupt (RVI) on page 3-53
ID Exchange on page 3-55
Line Bid
The following programming example demonstrates a BISYNC Point-to-Point line bid by
the local station and the corresponding READ by the remote station.
In the example, both the local and remote stations are Compaq systems, and both
stations are executing the example program. The example program has the capability to
both send and receive messages. The program reads from the home terminal at the local
station, then formats and sends the text in a message to the remote station. The process
in the remote station reads the message and writes the text to its home terminal there.
Figure 3-10
shows the flow of communications with a WRITE by the local station and a
READ by the remote station.