[erlang-questions] Line Receiver example?

Per Melin per.melin@REDACTED
Mon Apr 27 21:59:48 CEST 2009


Jarrod Roberson:
>  io:format("Received Line:~p~n", binary_to_list(Bin)),

This line is broken. Your process crashes. Do this:

io:format("Received Line:~p~n", [binary_to_list(Bin)]),



More information about the erlang-questions mailing list