[erlang-patches] add {active,N} support for sockets

Steve Vinoski vinoski@REDACTED
Wed Sep 4 16:48:12 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130904/1a9cbe81/attachment.htm>


More information about the erlang-patches mailing list