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

Table Of Contents
176 AppendixA
IPC Interpreter (IPCINT)
Sample IPCINT Session
Sample IPCINT Session
The following example describes the steps to create a call socket, send
and receive data over a connection, and then close the socket using
IPCINT on a local node. This sample session assumes a remote node is
also using IPCINT. The remote node running IPCINT sends the local
node a message as described in step 7.
The steps below follow the SVC requestor processing example in Figure
1-10 in Chapter 1 , “NetIPC Fundamentals.” The remote node should
follow the steps in the SVC server processing example in Figure 1-11 in
Chapter 3 , “NetIPC Intrinsics.
User input is bold in the examples provided. For information about
NetIPC intrinsic parameters refer to the intrinsic descriptions in
Chapter 3 , “NetIPC Intrinsics.” Intrinsic parameter names that differ
from the names used as prompts in IPCINT are included in
parentheses in the discussion of the examples.
Step 1 Run the IPCINT program from the MPE XL prompt. A log of the
session will be written to a file named IPCLOG.
(1) :RUN IPCINT.NET.SYS
(C) COPYRIGHT Hewlett-Packard Company 1989
>>>> IPC Interpreter B020000 FRI, SEP 15, 1989, 9:59 AM
>
To exit IPCINT at any time enter EX at the IPCINT prompt (>).
Step 2 Enter the IPCINT abbreviation for the desired intrinsic (See Table A-1).
In this example, CR for IPCCREATE is entered.
You are prompted for all required input parameters. You must enter 2
for X.25 direct access at the Protocol prompt. In this example, enter N
(no) at the Catch All socket prompt (
opt
code 144, bit 2). Enter the
network name configured for your network at the Network name (
opt
code 140) prompt.
After entering all required parameters, the intrinsic is executed. The
call socket descriptor (
calldesc
) is returned in the pseudovariable
“C”.The output parameters are interpreted and displayed. In this
example, a call socket has been created.
(2) CR
Protocol: 2
Catch All socket (Y/N)? N
Network name (8 chars): X25net
-----> Executing : IPCCREATE
CALL = 12