clojang.epmd
-epmd-parse-args
(-epmd-parse-args [k v])
epmd
(epmd & {:as args})
Either start or interact with the Erlang Port Mapper Daemon external (OS) process needed by JInterface for creating nodes and communicating with other nodes.
Usage based on documentation here: * http://erlang.org/doc/man/epmd.html#debug_flags
Notes: * Single-valued command line arguments expect a true
value in this function * Command line arguments with underscores are keywords with dashes in this function
Example usage:
clojang.dev=> (epmd :names true)
epmd: up and running on port 4369 with data:
name clojang at port 33681
name clojang-lfe at port 40968
name rabbit at port 25672
:ok
lookup-names
(lookup-names)
(lookup-names inet-addr-str)
(lookup-names inet-addr-str transport)
lookup-port
(lookup-port node)
Determine what port a node listens for incoming connections on.
publish-port
(publish-port node)
Register with Epmd, so that other nodes are able to find and connect to it.
unpublish-port
(unpublish-port node)
Unregister from Epmd.
use-port
(use-port port-num)
Set the port number to be used to contact the epmd process.