NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
Chapter 1 25
NetIPC Fundamentals
Using NetIPC for Interprocess Communication
Figure 1-5 IPCCONNECT (Process A)
5. Receiving a Connection Request
Using the call socket descriptor returned by its IPCCREATE call,
Process B calls IPCRECVCN to receive any connection requests. In this
example, Process B receives a connection request from Process A.
(Process A “dialed its telephone” to call Process B when it called
IPCCONNECT.) IPCRECVCN returns a VC socket descriptor in its
vcdesc
parameter (see Figure 1-6). This VC socket is the endpoint of the
virtual circuit at Process B. The connection will not be established,
however, until Process A calls IPCRECV. In the telephone analogy,
IPCRECVCN is similar to picking up a ringing phone and saying “hello”.
Call
Socket
Descriptor
Call
Socket
Descriptor
PROCESS A PROCESS B
SOCKET REGISTRY
“NAME”
Destination
Descriptor
VC
Socket
Descriptor