Chapter 4, Developing applications over IPX/SPX using TLI
Sequence of TLI functions for IPX

Sequence of TLI functions for IPX

To access IPX, a UNIX process uses the following TLI functions in the order listed:

  1. t_open( fd )

  2. t_bind( fd, &bind, &bind )

  3. t_optmgmt( fd, &req, &ret )

  4. t_sndudata( fd, &ud ) or t_rcvudata( fd, &ud, &flags )

  5. t_unbind( fd )

  6. t_close( fd )

The t_optmgmt function is optional; if used, it must be called after t_bind and before t_unbind.

``Using the IPX protocol'' presents a discussion of using these routines with the IPX protocol.

The IPX driver generates unitdata error messages. The t_rcvuderr call works as specified t_rcvuderr(NET).