October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

Transport Level Interface (TLI): What It Is and How It Works

TLI is a UNIX API for accessing transport services through a provider. Learn its OSI role, service styles, portability limits, and historical relationship to XTI.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Transport Level Interface (TLI) is a UNIX programming interface for accessing transport-layer networking services through a transport provider. It is an API—not a network protocol—and its portability benefits apply only when the provider and platform conform to the interface.

What is the Transport Level Interface?

TLI sits between an application and a transport provider: a program requests transport services through TLI rather than relying directly on some provider-specific details. The UNIX System V Release 4 Migration Guide describes it as an interface between programs and protocols at the transport layer of the OSI Reference Model, and says a program can work with any transport provider that conforms to TLI. UNIX System V Release 4 Migration Guide (1990)

As an Amazon Associate I earn from qualifying purchases.

Some documentation expands the name as “Transport Layer Interface”; this article uses “Transport Level Interface,” as in the title. The distinction that matters is that TLI is the application-facing interface, while the provider supplies the actual transport service.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Where does TLI fit in networking?

TLI corresponds to layer four, the transport layer, in the OSI model. Oracle describes it as the standard UNIX user-level interface to OSI level-four data communications features, modeled on ISO 8072, the ISO Transport Service Definition. Oracle Sun Global Glossary

TLI should not be confused with the transport provider or with STREAMS and its kernel-level Transport Provider Interface (TPI). TLI is the user-level API through which a program accesses a provider; TPI is a separate mechanism in the STREAMS architecture. Oracle Solaris TLI documentation

What service styles does TLI support?

The System V guide describes two service models. The provider and implementation determine which options are available; the interface does not make every provider behave identically.

Connection-oriented service

Communication takes place over an established connection. The System V guide characterizes this service as reliable and sequenced. Those properties describe the service model in that documentation, not a guarantee that every TLI provider offers identical behavior or performance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Connectionless service

Data is sent in self-contained units, commonly described as datagrams, without requiring a logical relationship among successive units. Applications use this model when their transport service does not depend on setting up a persistent connection first.

How portable is TLI?

TLI was designed to reduce dependence on particular transport-provider details, but it is not a promise of universal portability across UNIX-like systems. The System V migration guide’s portability statement is conditional: the provider must conform to TLI. Operating-system support, available providers, and implementation-specific build details can differ.

For example, SCO/Xinuos documentation records tiuser.h as a TLI header and libnsl as the Network Services Library in the UnixWare context it documents. Those names are implementation-specific historical guidance, not instructions that can safely be assumed for another system. SCO/Xinuos: Transport interface (XTI and TLI)

TLI vs. XTI: what is the difference?

XTI is the X/Open-sponsored successor to TLI. In SCO/Xinuos UnixWare documentation, the APIs are described as nearly identical in syntax and semantics; TLI routines remain for backward compatibility, while XTI is preferred for new applications in that environment. This is a vendor- and platform-scoped description, not a universal recommendation for every current UNIX-like system. SCO/Xinuos: Transport interface (XTI and TLI)

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Aspect TLI XTI
Lineage Earlier UNIX transport interface. Described by SCO/Xinuos as the X/Open-sponsored successor.
Syntax and semantics Nearly identical to XTI in the cited UnixWare documentation. Nearly identical to TLI in the cited UnixWare documentation.
Role in the cited UnixWare environment Retained for backward compatibility. Preferred for new applications in that documentation.
Headers and libraries Implementation-specific; UnixWare documentation names tiuser.h and libnsl. Implementation-specific; consult the target system’s documentation.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When did TLI originate?

SCO/Xinuos dates TLI’s introduction to AT&T UNIX System V Release 3.0 in 1986 and says it was modeled on ISO 8072. Its successor relationship with XTI belongs to that historical UNIX and X/Open context; it does not establish which APIs are available or preferred on present-day systems. SCO/Xinuos: Transport interface (XTI and TLI)

For a deeper treatment of legacy System V network programming, Stephen A. Rago’s UNIX System V Network Programming includes Chapter 4, “The Transport Layer Interface.” The publisher catalog lists the book’s publication in March 1993. Addison-Wesley Professional / O’Reilly catalog

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.