Erlang in Practice Episode 1: Sending and Receiving Chat Messages

Posted in Development on July 10, 2008


Erlang in Practice Episode 1: Sending and Receiving Chat Messages

We’ll send and receive messages between a chat client and a message router running in a single Erlang node. You’ll learn how to:

  • send messages to other Erlang processes
  • use a receive block to receive messages from other processes
  • use tuples to pattern-match messages
  • spawn new processes
  • implement tail recursion

Watch Video

Tags: Erlang, Languages, The Pragmatic Programmers, Erlang in Practice