[erlang-questions] Building a Non-blocking TCP server using OTP principles
Thu Aug 23 01:54:03 CEST 2007
On 8/22/07, Claes Wikström <> wrote:
> This is a bit like trying to do something clever when malloc()
> fails - pondering on the issue for a couple of years eventually
> the only sane thing to do is exit(1), same thing with accept() here.
That's pretty much the conclusion I came to. In the application I'm writing
(that got me going down this road in the first place) I'm just bailing on
that process. But, I should probably exit the whole app.
But, beyond that, some simple exit handling makes the blocking sub-process
work great for making a parallel TCP server.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions