Previous PageNext Page

Chapter 5 - Planning for Interprocess Communication Support

Support for Interprocess Communications

DOS
Windows
OS/2
Windows for Workgroups

Using the Netbios Name Service

Figure 5-1. Netbios Name Registration Service

Creating a Netbios Name Service

1. Use the MSERVICE command to add a server-based service.

2. Assign a name to the service.

3. Select a Banyan server for the service.

4. Select the Netbios Name Service as the service type.

5. Start the service.

Configuring a Workstation for IPC Support

PCCONFIG, PCNETB, or VCLIENT commands to load workstation-resident Netbios software
SETNETB command to register the workstation with a Netbios Name Service on a network server

Loading the Workstation Netbios Software

Using the SETNETB Command

Note: Although the SETNETB command is supported in the user profile, it is not recommended that you include it there.

SETNETB [/PERMID:hex-value] [/NAME:machine-name | /NONAME] service-name

Table 5-1. SETNETB Command Switches

For one workstation application to communicate with another, it must obtain the network address for the machine name of the other workstation application.

Banyan workstation software sends a request to the Netbios Name Service for the network address matching a specified machine name. The service looks up the name and returns the associated network address to the application.

Named Pipe Support in Banyan Networks

Basic client/server Named Pipe models supported by Banyan networking software
Software components required to support Named Pipe APIs on OS/2 workstations
Software components required to support Named Pipe APIs on DOS, Windows, and Windows for Workgroups workstations

Caution: If you use a Named Pipe application that uses APIs proprietary to other network operating systems, it will run under Banyan networking software as long as it adheres to the Named Pipe API. If not, you cannot run the application without assistance from the application developer.

Named Pipe API Client/Server Model

The server component of the application (also called the application server) makes itself available to application clients and formulates responses to client requests. In this model, the application server is a software component.
For the best performance, do not use the workstation that runs the server application for other heavy day-to-day processing over the network.

The client component of the application (also called the application client) formulates requests to one or more application servers. The application client is a software component. Application clients generally execute on any user workstation.

Table 5-2. Named Pipe Application Components

Named Pipe Software for OS/2

Table 5-3. Named Pipe Software Components

The Banyan networking software components that let a distributed Named Pipe server and client application exchange information between OS/2 workstations over the network are shown in Figure 5-2.

Figure 5-2. Named Pipe Communications for an OS/2 Client

Example Making a Named Pipe Connection

1. VINESNP.IFS receives a request from the client application.

2. VINESNP.IFS calls INNS.SYS to locate the workstation associated with the machine name specified in the request.

3. INNS.SYS requests that the Netbios Name Service look up the machine name in the machine name table.

4. Netbios Name Service returns the network address for that workstation.

5. INNS.SYS passes the location to VINESNP.IFS.

6. VINESNP.IFS program creates a connection with the NPSERVER.EXE program on the other workstation.

7. Applications communicate through the pipe.

Named Pipe Software for DOS-based Workstations

Table 5-4. DOS Named Pipe Software

Figure 5-3. Networking Software Components

Previous PageTop Of PageNext Page