Parsing an incoming Shoutcast request
Andrew Lentvorski
bsder@REDACTED
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"
> (http://www.sics.se/~joe/tutorials/web_server/web_server.html)
>
> You want to spawn (presumably) one handler/per connection -
>
> I have a module that does this:
>
> http://www.sics.se/~joe/tutorials/web_server/tcp_server.erl
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.
Thanks,
-a
More information about the erlang-questions
mailing list