@whatyouhide
Network Programming in Elixir and Erlang vB1.0 page 17 Building a TCP Echo Server
Book example does not show the required start_link/1 function in TCPEchoServer.Acceptor module. When the missing function is added from the supplied source code, and the project started with “$ mix run --no-halt” the project console will output the following text in a loop:
09:50:51.507 [info] Started TCP Server on port 4000
09:50:53.525 [error] GenServer #PID<0.148.0> terminating
** (stop) bad return value: {:accept}
Last message: :accept
State: #Port<0.4>
This output is not explained in the page 19 sanity check.