D. SPX/IPX Protocol : Listen Address Format : UNIX and VMS
 
Share this page                  
UNIX and VMS
SPX treats listen addresses as a 16-bit quantity, normally represented in hexadecimal as 0000 - FFFF. As a convenience, the Ingres SPX/IPX protocol driver recognizes an instance ID (followed by an optional digit) as a listen address and translates that into a 16-bit value in the range 4000 - 4FFF, which Novell has reserved for dynamically allocated listen addresses.
An SPX/IPX listen address has two possible formats:
ab[n] or xxxx
where:
a
An alphabetic character (case is not significant)
b
An alphabetic character or a decimal digit (0-9)
n
The 0 or 1 digit
xxxx
A hexadecimal number from 0000 to ffff
The format ab[n] is the default format, where ab is the instance ID (found in II_INSTALLATION) and n = 0. The digit n is incremented by 1 for each successive Communications server started in an installation. For example, if the installation has two Communications Servers using the default format for their listen addresses, the addresses are ab0 and ab1. Only two Communications Servers using the default listen addresses for SPX/IPX can be started in a single Ingres instance.
To accept a connection from Ingres running on a PC, the listen address must be set to 6582. The PC currently does not support selecting alternate listen addresses.
Connection Data Entry Information:
Protocol: spx
Network address: network.node
where:
network
Is a hexadecimal SPX network number
node
Is a hexadecimal SPX node number
The Novell utility getlan reports the local network and node numbers for the internal network and all external network connections. Because most hosts have only a single external network connection, getlan normally reports two networks. The internal network is always the first in the list (Lan number 0), and it is the address Ingres Net requires.
For example, if getlan reports:
LAN
Network
Node
Mux ID
State
Stream
0
119D9D21
000000000001
00000000
UNBOUND
OK
1
00000900
080020101FC7
00000059
IDLE
OK
The network address is:
119D9D21.1
Leading zeroes are not important.
Listen Address: ab[n] | xxxx