[erlang-questions] Monitor Sockets

Sverker Eriksson <>
Thu Sep 29 21:04:04 CEST 2016


On 09/29/2016 05:52 PM, Trent Hampton wrote:
> In January 2013, Loic suggested a feature to monitor sockets. The suggestion can be found here:
>
> http://erlang.org/pipermail/erlang-questions/2013-January/071668.html
>
> Was socket monitoring implemented?
>
>

Yes, port monitoring exist in OTP 19:

"OTP-11384    Application(s): erts

                Make it possible to monitor/demonitor ports using the
                erlang:monitor/2 API. The process and port information
                functions have also been updated to include information
                about monitors from processes to ports."



/Sverker



More information about the erlang-questions mailing list