nfi(1dn) — Commands
Digital
NAME
nfi − Network Functions Interface
SYNOPSIS
nfi
DESCRIPTION
The network functions interface (nfi) is a general purpose network interface testing tool, which translates user commands into system calls to the socket interface. The nfi interface is useful for testing one end of a protocol implementation.
The nfi utility has commands that let you do the following:
Connect to a program on a remote system
Bind a name to a socket and wait for a connection
Build and send data and interrupt messages
Receive and display data and interrupt messages
Close the connection
You can use nfi to debug pairs of programs that use a protocol; you can debug each end of the protocol separately.
You can type help after the nfi> prompt to receive a list of the valid nfi commands.
Note that nfi polls for both normal and out-of-band messages when you use the recv command.
RESTRICTIONS
Digital Equipment Corporation supplies this utility on an "as-is" basis for general customer use. Note that Digital does not offer any support for it, nor is it covered under any of Digital’s support contracts.
EXAMPLE
nfi <RET> NFI (Network Functions Interface)
V1.01 25-Apr-85
Local node: ADOBE (55.12)
nfi> connect adobe object 17 <RET>
connect accepted, peer information:
address family=12
object number=17
node address=55.12
connect complete on socket=3
nfi> send data 1 0 0 2 3 4 5 6 <RET>
sent data...
Message length: 8
Message contents (decimal):
1 0 0 2 3 4 5 6
polling for receive...
received message(#1)
Message length: 7
Message contents (decimal):
9 0 74 128 0 0 0
1 message(s) received nfi> disconnect <RET>
disconnect on socket=3
nfi> exit <RET>
Exiting...