[erlang-questions] {active, N} to build an echo TCP server?

Frank Muller <>
Wed Dec 28 02:19:26 CET 2016

Hi guys

While able to build an echo TCP server which uses {active, once} and works
as expected,
I’m unable to design the same echo server using {active, N}.

Can someone help me understand how to use it?
How and where to decrement the N?
What happens when N reaches 0?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161228/e569dc8d/attachment.html>

More information about the erlang-questions mailing list