The ``filebased'' registry protocol

The filebased saves the IP address and socket number of the server in a <module_name>.addr file at the address file directory or in the directory that a .addr file, if it exists, specifies.

The address file directory can be selected with the set_reg_dir/1 predicate at filebased_common or the --reg-dir option for server startup.

By default, this directory is set to the temporary directory (see get_tmp_dir/1 at system).

Note that servers and clients can be started in different machines, provided this directory is shared (e.g., by NFS or Samba), or the file can be moved to an appropriate directory on a different machine --provided the full path is the same.

Usage and interface

  • Library usage:
    :- use_module(library(actmod/regp_filebased)).

Documentation on multifiles

No further documentation available for this predicate. The predicate is multifile.

No further documentation available for this predicate. The predicate is multifile.

No further documentation available for this predicate. The predicate is multifile.

No further documentation available for this predicate. The predicate is multifile.

PREDICATEqprot.dec/4
No further documentation available for this predicate. The predicate is multifile.

PREDICATEqprot.enc/3
No further documentation available for this predicate. The predicate is multifile.

No further documentation available for this predicate. The predicate is multifile.

No further documentation available for this predicate. The predicate is multifile.

Documentation on imports

This module has the following direct dependencies: