<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">SCTP sockets support one-to-one and one-to-many associations. The one-to-many don't require an accept - the association notifications events at the server come via the #sctp_assoc_change{} event. >From there you could either route the client-originated messages to association-specific Erlang pid, or you could peel-off the association into a separate file one-to-one socket that is more "traditional" for "TCP"-like style of use.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Serge</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 25, 2016 at 10:47 AM, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm basically reviving this old thread:<br>
<a href="http://erlang.org/pipermail/erlang-questions/2009-September/046558.html" rel="noreferrer" target="_blank">http://erlang.org/pipermail/erlang-questions/2009-September/046558.html</a><br>
<br>
As far as I can tell an 'acccept' is necessary. It exists at the lower<br>
level to provide a socket for communicating with the client that made<br>
the association. Without this you can't spawn a process per client on<br>
the server side, unless I'm missing something?<br>
<br>
Has this simply not mattered because sctp is not supported in most cloud<br>
networks and such, so it isn't used? Meaning it makes sense for me to<br>
add an accept interface? Or is it actually not needed somehow and<br>
associations can be handled in a similar way to what I described without<br>
a new socket?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
  Tristan Sloughter<br>
  <a href="mailto:t@crashfast.com">t@crashfast.com</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</font></span></blockquote></div><br></div>