DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Developing applications using XTI or TLI

XTI and TLI

XTI is derived from TLI, which was first introduced with System V Release 3.0 of UNIX in 1986. Both XTI and TLI are Application Program Interfaces (APIs) that allow user processes to access transport providers in a (mostly) transport-independent fashion.

From the standpoint of syntax and semantics, the two libraries are nearly identical. The name of the header file used for TLI is tiuser.h. The syntax of the include preprocessor directive to use is

   #include <sys/tiuser.h>

The name of the library to be searched when compiling and linking a program that uses TLI is nsl (Network Services Library). The syntax of the cc command to use is

cc option file -lnsl

Applications written to use TLI can be ported relatively easily to XTI. You should note the points listed below when porting your application.

The CAE Specification has more information on the differences between XTI and TLI.
Next topic: XTI and sockets
Previous topic: Compiling and linking with XTI

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003