User guide

20 DC 900-1303C
Freeway Client-Server Interface Control Document
1.2.2 Establishing a Freeway Connection
After the TSI configuration is defined, the client application must establish a connec-
tion to the Freeway server. Applications that use the client TSI layer only need to make
a library call (
tConnect). Applications that do not use the client TSI layer must exchange
“bind” and open session packets with the Freeway server TSI layer and MsgMux,
respectively, as well as connect to the BSD socket.
1.2.3 Exchanging Data with Freeway
After the connection is established, the client application can exchange data packets
with the server. Applications that use the client TSI layer only need to make library calls
(
tRead, tWrite). Applications that do not use the client TSI layer must submit I/O
requests directly to the BSD socket.
1.2.4 Closing a Freeway Connection
When the data transfer is complete, the client application can close the connection.
Applications that use the client TSI layer only need to make a library call (
tDisconnect).
Applications that do not use the client TSI layer must exchange close session and
“unbind” packets with MsgMux and the server TSI layer, respectively, and then close the
BSD socket.