[erlang-questions] parallel tcp server closed once spawned
Ulf Wiger (TN/EAB)
Tue Oct 16 14:50:48 CEST 2007
Michael Campbell wrote:
>> para_server() ->
>> spawn(fun() ->
> Is there a difference in the spawn call above and:
> spawn(fun() ->
That would be spawn(fun para_server_1/0).
The way you wrote it, you'd be trying to divide
an atom by zero.
To my knowledge, there isn't any difference.
More information about the erlang-questions