Chapter 4, Developing applications over IPX/SPX using TLI
Accessing SAP

Accessing SAP

SCO IPX/SPX provides a library interface to SAPD. The SAPD library includes:

ispx_advertise
advertises and unadvertises a network service provider

ispx_get_address
determines the network number of a given named server

ispx_service_query
performs a local query of a NetWare subnet for advertised network services

ispx_nsrvr_rqst
performs a local query of a NetWare subnet for advertised network services.


NOTE: The ispx_nsrvr_rqst function is obsolescent and is included in order to maintain backwards compatibility with previous releases. Developers are encouraged to use the ispx_service_query call when writing new applications.

These routines are described in ``Service Advertising Protocol Daemon library''.

The following header files must be included in the order listed in any program that uses the SAPD routines: