E1. The General Format of Address |
The network address looks as follows: [<protocol>://][<protocol-specific-part>] By default, <protocol> has the TCP value. The default values of <protocol-specific-part> are determined by the application.
IP Addresses •<interface>::=<ip-address> <ip-address> can be either a DNS name or an IP address separated by periods (for example, 127.0.0.1). •<socket-address>::=<interface>:<port-number> <port-number> must be specified by a decimal number. When you specify an address of the Server or the Agent, you can set the version of the protocol to use. The following variants are available: •<protocol>://<interface>:<port-number> – use IPv4 and IPv6. •<protocol>://(<interface>):<port-number> – use IPv4 only. •<protocol>://[<interface>]:<port-number> – use IPv6 only. 1.tcp://127.0.0.1:2193 means a TCP protocol, port 2193 on an interface 127.0.0.1. 2.tcp://(examle.com):2193 means a TCP protocol, port 2193 on an IPv4 interface examle.com. 3.tcp://[::]:2193 means a TCP protocol, port 2193 on an IPv6 interface 0000.0000.0000.0000.0000.0000.0000.0000 4.localhost:2193 the same. 5.tcp://:9999 value for the server: the default interface depending on the application (usually all available interfaces), port 9999; value for client: the default connection to the host depending on the application (usually localhost), port 9999. 6.tcp:// TCP protocol, default port. Connection-Oriented Protocol <protocol>/<socket-address> where <socket-address> sets the local address of the socket for a server or a remote server for a client. Datagram-Oriented Protocol <protocol>://<endpoint-socket-address>[-<interface>] 1.udp://231.0.0.1:2193 means using a multicast group 231.0.0.1:2193 on an interface depending on the application by default. 2.udp://[ff18::231.0.0.1]:2193 means using a multicast group [ff18::231.0.0.1] on an interface depending on the application by default. 3.udp:// application-dependent interface and endpoint. 4.udp://255.255.255.255:9999-myhost1 using broadcasting messages on port 9999 on myhost1 interface. UDS Addresses •Connection-oriented protocol: unx://<file_name> •Datagram-oriented protocol: udx://<file_name> Examples: 1.unx://tmp/drwcsd:stream 2.unx://tmp/drwcsd:datagram SRV Addresses srv://[<server name>][@<domain name/dot address>] |