IPX/SPX Configuration and Management Manual
Protocol Interfaces and Services for NonStop™
IPX/SPX
IPX/SPX Configuration and Management Manual—425731-001
A-14
Examples of NonStop™ IPX/SPX Functions
The ODBC Server uses the NonStop™ IPX/SPX Sockets library to access the
IPXPROTO process and bind to an IPX or SPX socket. The server application specifies
the name of the IPXPROTO process to be used for NetWare communications. This
name is specified when configuring the ODBC Server. Once the socket is bound, the
server can receive connection requests from workstation clients.
To advertise its services to clients on the NetWare LAN, the ODBC Server uses the
NonStop™ IPX/SPX SAP library. The server application specifies the following
information for its SAP table entry:
•
The server name. Compaq recommends that this name be the Guardian process
name associated with the server application, since this name must be unique in the
NetWare network.
•
The socket number that the client is to use when requesting a connection to the
server application. This socket should be the name of the bound socket.
•
The server type. The type is 0474, a server type that is reserved for the ODBC
Server (see Table A-1, NonStop™ Himalaya S-Series Server Types, on page A-2).
A new entry for the ODBC Server is then added to the SAP table maintained by the
IPXPROTO process. The entry is then propagated by the IPXPROTO process to other
NetWare servers by means of a SAP broadcast every 60 seconds. The SCF STATUS
SERVER #SAP command displays the following SAP table information for the ODBC
Server:
Before a client can make a request to a server, it needs to know the name and address of
the host that contains the server application. Each NetWare server maintains a SAP table
that contains the services available, along with the name and address of the system
where the server application resides. Clients can query the SAP table on a NetWare
server to find available services and obtain the addresses of the systems that are offering
those services. The NWSCAN utility, available with the PC6530 Terminal Emulator
(PCT), shows the servers available on a NonStop™ Himalaya S-series server.
The SAP table entry provides the IPX address that the client needs to send a connection
request to the ODBC Server. The IPX address of the ODBC Server is included in the
request sent by the client application to the NetWare driver on the workstation. The IPX
request packet is then routed to the network address of the NonStop™ Himalaya S-series
server. The node portion of the IPX address routes the request to the appropriate
IPXPROTO process. The IPXPROTO process uses the socket number to inform the
ODBC Server of the client’s request for a connection.
The ODBC Server creates a new socket for communications with the client and informs
the IPXPROTO process. The IPXPROTO process informs the client of the new socket
that the client is to use for communications with the ODBC Server.
Name Address Type
Hops
TREX 0x0000FACE:000000000001:0451 %H0474 1