January 2013
Beginner to intermediate
624 pages
17h 18m
English
So far, we’ve had some fun dealing with Erlang itself, but we’ve barely communicated with the outside world. And even when we did, it was only by reading the occasional text file. Though relationships with yourself might be fun, it’s time to get out of our lair and start talking to the rest of the world. One way to do this is by using sockets.
This chapter covers three components of using sockets: IO lists, UDP sockets, and TCP sockets.

As you’ve learned, for text, we can use either strings (lists of integers) or binaries (binary data structures that hold data). Sending things over the wire such as “Hello World” ...
Read now
Unlock full access