User guide
1: Introduction
DC 900-1338I 27
1.4.2 Opening a Session
After the DLI and TSI configurations are properly defined, your client application uses
the
dlOpen function to establish a DLI session with an ICP link. As part of the session
establishment process, the DLI establishes a TSI connection with the Freeway MsgMux
through the TCP/IP BSD-style socket interface for the Freeway server, or directly to the
ICP driver for the embedded ICP environment.
1.4.3 Exchanging Data with the Remote Application
After the link is enabled, the client application can exchange data with the remote appli-
cation using the
dlWrite and dlRead functions.
1.4.4 Closing a Session
When your application finishes exchanging data with the remote application, it calls the
dlClose function to disable the ICP link, close the session with the ICP, and disconnect
from the Freeway server or the embedded ICP driver.