[erlang-questions] Setting node name from the shell started withou -name or -sname

Zvi exta7@REDACTED
Wed Apr 23 19:14:25 CEST 2008


It's possible to set cookie name programmatically, using erlang:set_cookie/2,
even if BEAM started without -setcookie flag or .erlang.cookie file.
How to set a node name for BEAM started without -name or -sname flags?
There is undocumented erlang:setnode/2 BIF, I guess that it's:
  setnode(NodeName::node(),PortNumber::int())
but still have no idea how to use it.

TIA,
Zvi

-- 
View this message in context: http://www.nabble.com/Setting-node-name-from-the-shell-started-withou--name-or--sname-tp16834718p16834718.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list