Parsing an incoming Shoutcast request

Andrew Lentvorski <>
Tue May 30 00:05:53 CEST 2006

Joe Armstrong (AL/EAB) wrote:
> This is covered in "Joe's spitting in the sawdust Erlang tutorials
> Tutorial number 2"
> (
> You want to spawn (presumably) one handler/per connection - 
> I have a module that does this:

I stared at the code a while.  I clearly don't understand all of the 
subtleties because I don't quite get why the dire comments are needed.

So, my question is:

What concerns prevented you from using the gen_server/supervisor behaviors?

I'd rather not run blindly into them given that the comments indicate 
that it took two Erlang experts to get this code correct originally.


More information about the erlang-questions mailing list