<span style="color:rgb(49,49,49);word-spacing:1px">Hi guys</span><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">I’m playing with the new socket module: </span><br style="color:rgb(49,49,49);word-spacing:1px"><a href="https://erlang.org/doc/man/socket.html" rel="noreferrer" target="_blank" style="font-size:1rem;word-spacing:1px">https://erlang.org/doc/man/socket.html</a><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">The idea is to switch my gen_tcp based Web server to socket.</span><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px"><div dir="auto">Currently, I’m using {active, N} and would like to know if anything equivalent is possible with socket?</div></span><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">Are there any examples I can look at?</span><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px"><div dir="auto">Also, I read somewhere that in R23, gen_tcp will be based on the new socket module. Is this still true?</div></span><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">/Frank</span><br style="color:rgb(49,49,49);word-spacing:1px">