TLI and XTI
TLI (Transport Layer Interface) is
an API developed by AT&T®
for the creation of distributed applications
that can be easily ported to run over different
transports.
XTI (X/Open Transport Interface) is
an extension to and refinement of TLI
developed by the X/Open Company Ltd.
Table 1-3 TLI and XTI library routines (NET)
------------------------------------------------
Routine Description
------------------------------------------------
t_accept accept a connect request
t_alloc allocate a library structure
t_bind bind an address to a transport
endpoint
t_close close a transport endpoint
t_connect establish a connection with
another transport user
t_error produce error message
t_free free a library structure
t_getinfo get protocol-specific service
information
t_getstate get the current state
t_listen listen for a connect request
t_look look at the current event on a
transport endpoint
t_open establish a transport endpoint
t_optmgmt manage options for a transport
endpoint
t_rcv receive data or expedited data
sent over a connection
t_rcvconnect receive the confirmation from
a connect request
t_rcvudata receive a data unit
t_rcvuderr receive a unit data error
indication
t_rcvdis retrieve information from
disconnect
t_rcvrel acknowledge receipt of an
orderly release indication
t_snd send data or expedited data
over a connection
t_snddis send user-initiated disconnect
request
t_sndrel initiate an orderly release
t_sndudata send a data unit
t_sync synchronize transport library
t_unbind disable a transport endpoint
TLI can be used to access the TCP/IP and IPX/SPX transports. XTI can be used to access the TCP/IP and NetBIOS transports.