$DNP
Specify the default network path to the Uniface Router.
$DNP {=
}
NetworkConnector:
{HostID{+
PortNumber}}
{:
TlsProfile}
{|||
SymbolicName}
Arguments
- NetworkConnector—three-letter code for the network connector; one of
TCP
orTLS
. Default isTCP
, but it is not always possible to omit this value in path assignments. - HostId—host machine where
the Uniface Router that handles requests for a server is running. If omitted, the default
is
localhost
( the current machine). It can be specified as:- A Domain Name Server (DNS) entry, such as
mycompany.com
- An Network Information Service (NIS)
entry, such as
examplehost
- An IP address, such as
93.184.216.119
(TCP4) or2606:2800:220:6d:26bf:1447:1097:aa7
(TCP6).
The format of the IP address, either as specified or as resolved by the DNS or NIS entry, determines the version of the TCP/IP protocol used. For more information, see Host Identification for TCP/IP and TLS.
- A Domain Name Server (DNS) entry, such as
- PortNumber—port number on
which the server or Uniface Router listens. If omitted, the default depends on the type of server and protocol. For the Uniface Router on TCP, it is
13001
. - TLSProfile—name of a TLS
connection profile that is defined in the [NET_SETTINGS] section of the assignment file; applicable
only if NetworkConnector is
TLS
. For more information, see TLS Connection Profiles. -
SymbolicName—a logical client ID for the Uniface client, or a UST for the Uniface Server. In combination with the user name, it uniquely identifies the application process. If omitted, use the /ust command line switch to supply the symbolic name.
Defaults
Assignment file: | client and server assignment files |
Section: | [PATHS] |
Default value: | none |
Description
Specify the Uniface Router default network path, also known as the Default Network for Postmessage (DNP). This setting is useful when registering both clients and servers with the Uniface Router.
If SymbolicName is omitted
from the $DNP setting, it must be supplied either using /dnp
or /ust switches, or using the ProcScript statement command
open ... |||
UST.
Example: $DNP
The following example defines the default
protocol as TCP, connecting to the mammal
server on port 13002, with client ID
tiger
. The user is prompted to enter a username and password at run time.
$DNP = TCP:mammal+13002|||tiger