Erlang - node startup


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. :~$ erl
  2. Erlang (BEAM) emulator version 5.6.2 [source] [async-threads:0] [hipe]
  3. [kernel-poll:false]
  4.  
  5. Eshell V5.6.2 (abort with ^G)
  6.  
  7. 1> net_kernel:start([foo, shortnames]).
  8. {ok,<0.31.0>}
  9.  
  10. ()2> erlang:set_cookie(node(), 'super_secret_cookie').
  11. true
  12.  
  13. ()3>

URL: http://erlang.org/pipermail/erlang-questions/2008-April/034540.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.