[erlang-questions] inets {read_packets,N} option

Frank Muller frank.muller.erl@REDACTED
Sat Jan 7 12:04:09 CET 2017

Hi guys,

Can someone explain me the semantic behind {read_packets, Integer} for UDP:

I understand the associated doc, but what i can’t get is how this option
affects me if i set it for example with:
1. {read_packets, 20} + {active, once}
2. {read_packets, 20} + {active, 100}

How many packets my process will receive in each case?

And are these packets send as multiple messages one packet at a time, or as
one message representing a list of N packets?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170107/49540038/attachment.htm>

More information about the erlang-questions mailing list