IPX/SPX Programming Manual

Introduction to NonStop IPX/SPX
HP NonStop IPX/SPX Programming Manual528022-001
1-3
The Socket Library
SAP interface allows a HP fault-tolerant server application to advertise its services
to workstations on the NetWare network. The SAP interface is open to NonStop
IPX/SPX application development.
NetWare application program interfaces (APIs) allow applications to access
NetWare services such as printing or filing. NonStop IPX/SPX provides a subset of
the NetWare APIs for the LAN Print Spooler for the NetWare process only. The
NetWare APIs are closed to NonStop IPX/SPX application development.
Figure 1-2 shows the interfaces that are provided by the NonStop IPX/SPX subsystem.
The unshaded Sockets and SAP interfaces in Figure 1-2 are accessible for customer
application development. For information on the HP socket library and the SAP
interface, see Section 5, Library Routines and Section 6, Sample Programs,
respectively.
The Socket Library
A socket is an end point for communication. NonStop Kernel applications can access
both SPXII and IPX via the socket interface provided by the D30 or later Guardian
socket library. An application process uses a socket function call to request that the
NonStop IPX/SPX software create a socket when needed and to specify the type of
service desired. The application can request SPXII and IPX sockets. The NonStop
IPX/SPX software returns a socket number, which the application uses to reference the
new socket.
Figure 1-2. Interfaces Supported by NonStop IPX/SPX
VST0102.vsd
Sockets SAP Interface NetWare API
SPXII
IPX
SAP NCP
RIP