/erlangdc-hacknight-jan2012

One possible solution for the prob012lem we all solved at the ErlangDC Hack Night of January 2012

Primary LanguageErlang

Super Simple PubSub Erlang Example

To run the code:

  make
  make run

Then inside the erlang process:

  Hub = hub:start().
  C1 = client:start(Hub).
  C2 = client:start(Hub).
  C3 = client:start(Hub).
  C4 = client:start(Hub).
  Hub ! list.
  Hub ! {message, {hi, my, name, is, luc}}.

See you all at the next hack night!