intermediate · 16 min · $3.00
A TCP Chat in 100 Lines
Sockets, processes, and message passing — a tiny chat server is the perfect way to feel them work together.
After this: Build a concurrent TCP chat server from scratch with processes.
The BEAM makes network servers feel almost unfair. One process per connection, no callback spaghetti.
The rest of this chapter is part of the catalog
Add it to your edition →