Here’s my solution for the Talk with Distributed Erlang exercise.

You can run the program by calling the start function, but first you must generate a cookie and start two named Erlang nodes using the following commands:

  1. echo -n “dh32d8yhd8″ > erlang.cookie
  2. erl -name Node1 -cookie
  3. erl -name Node2 -cookie
Share and Enjoy:
  • del.icio.us
  • Reddit
  • Facebook
  • Identi.ca
  • TwitThis

Related posts:

  1. Erlang Exercise: N Processes in a Star
  2. Introducing Cushion, a simple python wrapper for CouchDB
  3. Learning Erlang: Retrieving Stock Quotes From Google Finance
  4. Processes in Erlang

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Search