add {active,N} support for sockets

Steve Vinoski <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <CAO+zUOUH5ihgqNt944yqXGxdWPWqyMhb5UMuG-YyxSoMoBUX0Q@mail.gmail.com>
This pull request adds support for an {active,N} option for TCP, UDP, and
SCTP sockets. It's similar to {active,true} except the socket enters
passive mode once N messages have been sent to the controlling process,
similar to what the {active,once} mode does after 1 message. The commit
message contains more details:

https://github.com/vinoski/otp/commit/abd3703840ff9395b40e38aa7c7648171a9adc82

The pull request is here:

https://github.com/erlang/otp/pull/66

--steve

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.