| 23 | |
| 24 | == Auto locating of servers == |
| 25 | To find a server the client (library) tries several locations. The table below lists the recommended steps to locate the server. Implementations may behave differently. |
| 26 | |
| 27 | When a step do not result in a valid address the next step is processed. The column "Continue when failed" indicates if the next step is also processed when the step resulted in a valid server address but the server was unreachable. |
| 28 | |
| 29 | ||= # =||= Step =||= Continue =||||= Supported by =||= Description =|| |
| 30 | ||= =||= =||= when failed =||= libroar =||= µRoar =||= =|| |
| 31 | || 0 || Server given by application/user || No || Yes || Yes || ... || |
| 32 | || 1 || Server given by application default || No || Yes || No || ... || |
| 33 | || 2 || $ROAR_SERVER || No || Yes || Yes || ... || |
| 34 | || 3 || Server in Display's ROAR_SERVER-prop || No || Yes || No || ... || |
| 35 | || 4 || /etc/roarserver || No || Yes || Yes || ... || |
| 36 | || 5 || Server: ~/.roar || Yes || Yes || Yes || ... || |
| 37 | || 6 || Server: /tmp/roar || Yes || Yes || Yes || ... || |
| 38 | || 7 || Server: localhost:roar || Yes || Yes || Yes || ... || |
| 39 | || 8 || Server: localnode::roar || Yes || Yes || No || ... || |
| 40 | || 9 || Server: +abstract || Yes || Yes || No || ... || |
| 41 | || 10 || OpenSLP (with cache) || Yes || Yes || No || ... || |
| 42 | || 11 || OpenSLP (without cache) || Yes || Yes || No || ... || |
| 43 | || -- || Retries some of the above || Yes || Yes || -- || This is specific to libroar || |
| 44 | || -- || Server: /tmp/muroard || Yes || Yes || -- || This is specific to libroar || |
| 45 | || 12 || Try all DECnet neighbours || Yes || Yes || No || ... || |
| 46 | || 13 || Try all IP neighbours || Yes || Yes || No || ... || |
| 47 | || 14 || All Nodes in local node database || Yes || No || No || On GNU/Linux this file is /etc/decnet.conf || |
| 48 | || 15 || All Hosts in local host database || Yes || No || No || On most this file is /etc/hosts || |
| 49 | || 15 || All Nodes in local ether database || Yes || No || No || On most this file is /etc/ethers || |
| 50 | |