User guide

DC 900-1338I 141
Chapter
8
Client Applications
DLI Overview
Note
In this document, the term Freeway can mean either a Freeway
server or an embedded ICP. For the embedded ICP, also refer to
the user guide for your ICP and operating system (for example, the
ICP2432 User Guide for Windows NT).
This chapter describes how to use the data link interface (DLI) functions, part of Proto-
gates application program interface (API), to initiate and terminate sessions when
developing applications that interface to the ICP sample protocol software (SPS). You
should be familiar with the concepts described in the Freeway Data Link Interface Refer-
ence Guide; however, some summary information is provided in Section 8.1.
If you are using an embedded ICP, you must also refer to the user guide for your specific
ICP and operating system regarding the embedded DLI interface (referred to as
DLITE).
The following might be helpful references while reading this chapter:
Section 8.2 compares a typical sequence of DLI function calls using blocking ver-
sus non-blocking I/O.
Appendix C explains error handling and provides a summary table for error
codes. The Freeway Data Link Interface Reference Guide gives complete DLI error
code descriptions.