I am desperately trying to convert the example code from the SHOUTCast server example in the Programming Erlang book to call a function on every line received instead of the way it works in the book.<br>I am coming from using the Twisted framework for Python and trying to port some applications, Twisted has a "Line Receiver" protocol that calls a function when every line is detected.<br>
It makes writing basic protocols very easy. I have been unsuccessful in trying to accomplish the same thing with Erlang.<br>