wiki:ServerAddress

Version 2 (modified by ph3-der-loewe, 12 years ago) (diff)

Added table with special addresses

Server Address

The server address is the address the client uses to connect to the server. Depending on the used transport the address format is different.In common cases server auto locating is used and the server address is not given explicitly by the user. This page describes the format of the server address and how the auto locating works.

Address syntax

The syntax depends on the used transport. Some implementations do not support all transports. See NetworkMatrix for details on support of transports by implementations.

Type Syntax Defaults Notes
UNIX /path/to/socket ~/.roar, /tmp/roar Used if filename is a socket
DECnet node::obj, node::, ::obj, :: node: localnode, object: roar (none)
IPv4 hostname:port, hostname, ip:port, ip host: localhost, port: 16002 Usage of hostnames is recommended.
IPv6 hostname:port, hostname host: localhost, port: 16002 IPv6 addresses are not supported. Hostnames must be used.
Chardev /path/to/dev (none) Used if filename is a char device
Special +type (none) See list below

Special addresses

The following special addresses are assigned at the moment:

Address Supported by Description
+fork libroar Fork a new server process only bound to this client.
+slp libroar Use OpenSLP to locate the server.
+abstract libroar Address in abstract name space.
+invalid libroar An invalid address. This is to be used for testing.