[erlang-questions] {active, N} to build an echo TCP server?
Kenneth Lakin
kennethlakin@REDACTED
Wed Dec 28 06:27:30 CET 2016
On 12/27/2016 05:19 PM, Frank Muller wrote:
> 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?
This might be helpful:
http://erlang.org/doc/man/inet.html#setopts-2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161227/ee01afda/attachment.bin>
More information about the erlang-questions
mailing list