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

Table Of Contents
26 Chapter1
NetIPC Fundamentals
Using NetIPC for Interprocess Communication
Figure 1-6 IPCRECVCN (Process B)
6. Checking the Status of a Connection
Process A calls IPCRECV using the VC socket descriptor returned by its
IPCCONNECT call. IPCRECV returns the status of the connection
(successful/unsuccessful) initiated by IPCCONNECT. If the status is
successful, the connection has been established and Process A and
Process B can “converse” over the new virtual circuit (see Figure 1-7).
Compared to the telephone system, IPCRECV is similar to saying “hello”
in response to the “hello” from the other end of the phone. IPCRECV can
also be used to receive data. This function is described in the IPCRECV
call discussion later in this section.
Call
Socket
Descriptor
Call
Socket
Descriptor
PROCESS A PROCESS B
SOCKET REGISTRY
“NAME”
Destination
Descriptor
VC
Socket
Descriptor
VC
Socket
Descriptor