Network Programming in Elixir and Erlang (B1.0): Test fails (p25)

I could not get the single call to :gen_tcp.recv/3 to pull in all the data from the two :gen_tcp.send/2 calls as written. I consequently wrapped the :gen_tcp.recv/3 in a recursive call and subsequently was able to get the test to pass as written.

1 Like