
G&R
Accepting connections
Products and applications receiving connections must configure a local node
name using the -ln option, causing the line handler to accept incoming calls.
The local mailbox name should then also be specified using the -mn option.
Because a line handler can deal with only one incoming connection, a system
accepting multiple simultaneous connections to a single node name must use a
listener, described below. The -ln option then registers the application with
the listener for the given node name as listening on the given mailbox. It is then
the listener for the given node name which accepts connections and forwards
them to the applications which have registered that they are listening to
mailboxes on that node name.
The listener
The nl_dsa program listens for incoming connections on a given SC (Session
Control name, also referred to as DSA node name), and dispatches incoming
connections to waiting programs. This allows you to have many programs
listening for incoming connections on the same SC, but for different mailboxes.
We recommend you always use the DSA protocol (default) to avoid
unnecessary overhead and many known errors in the DIWS handlers on the
mainframes and front-ends, but you can use the DIWS protocol if you must.
Please note that a listener can listen for either DSA or DIWS connections, but
not both protocols at the same time. If you need to accept both DSA and DIWS
connections, then you need to start up 2 instances of the nl_dsa program: one
with the -prot DIWS parameter, and one with default (–prot DSA). Also
note that if RFC1006 protocol is used, 2 listeners cannot use the same RFC1006
port number; you must start one of the listeners using a non-standard port
number (i.e. different from 102) using the –lp parameter.
Gline Line Handlers and Configuration
21
Kommentare zu diesen Handbüchern