<p>Thank you Tomas . That sounds promising. I'll  try and report back.</p>
<p>Chandru<br>
</p>
<div class="gmail_quote">On May 15, 2012 2:20 PM, "Tomas Abrahamsson" <<a href="mailto:tomas.abrahamsson@gmail.com">tomas.abrahamsson@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
On Linux, it worked on IPv4, but not IPv6 for me.<br>
When I wrote the original patch I hadn't tried Solaris (or FreeBSD)<br>
So I found additional issues on Solaris and FreeBSD: even IPv4<br>
SCTP multihoming didn't work there. Instead of trying out the<br>
patch in my original post, I'd recommend trying out the<br>
<a href="https://github.com/tomas-abrahamsson/otp/compare/sctp-multihoming" target="_blank">https://github.com/tomas-abrahamsson/otp/compare/sctp-multihoming</a><br>
(referenced later in the  thead:<br>
<a href="http://erlang.org/pipermail/erlang-patches/2012-May/002788.html" target="_blank">http://erlang.org/pipermail/erlang-patches/2012-May/002788.html</a>)<br>
<br>
BRs<br>
Tomas<br>
<br>
On Tue, May 15, 2012 at 2:29 PM, Chandru<br>
<<a href="mailto:chandrashekhar.mullaparthi@gmail.com">chandrashekhar.mullaparthi@gmail.com</a>> wrote:<br>
> No, I didn't . Thanks  for the pointer. Though the original poster says it<br>
> worked for IPv4 for him. It doesn't work for me even for IPv4 addresses.<br>
> I'll try the patch out and see.<br>
><br>
> Chandru<br>
><br>
> On May 15, 2012 7:35 AM, "Lukas Larsson" <<a href="mailto:garazdawi@gmail.com">garazdawi@gmail.com</a>> wrote:<br>
>><br>
>> I assume you have looked at this[1] thread on the erlang patches<br>
>> mailinglist?<br>
>><br>
>> [1] <a href="http://erlang.org/pipermail/erlang-patches/2011-December/002559.html" target="_blank">http://erlang.org/pipermail/erlang-patches/2011-December/002559.html</a><br>
>><br>
>> Sent from me<br>
>><br>
>> On 15 maj 2012, at 06:06, Chandru <<a href="mailto:chandrashekhar.mullaparthi@gmail.com">chandrashekhar.mullaparthi@gmail.com</a>><br>
>> wrote:<br>
>><br>
>> > Hi all,<br>
>> ><br>
>> > I'm having trouble starting a server with multihoming support.<br>
>> ><br>
>> > The call:<br>
>> > 16> (<0.804.0>) call gen_sctp:open([binary,<br>
>> >  {active,once},<br>
>> >  {reuseaddr,true},<br>
>> >  {port,3868},<br>
>> >  {ip,{10,249,8,4}},<br>
>> >  {ip,{10,249,8,12}}])<br>
>> ><br>
>> > crashes with the report below. Anyone has a quick fix? I've traced it<br>
>> > down to this:<br>
>> ><br>
>> > (<0.2364.0>) call<br>
>> > erlang:port_control(#Port<0.5560>,62,[[1],[[15,28],10,249,8,12],[[15,28],10,249,8,4]])<br>
>> > (<0.2364.0>) returned from erlang:port_control/3 -><br>
>> > [0,101,105,110,118,97,108] (which is einval basically)<br>
>> ><br>
>> > Any idea why this would be? I'm running this on Solaris 10, with R15B.<br>
>> ><br>
>> > cheers<br>
>> > Chandru<br>
>> ><br>
>> > 22> rb:show(4).<br>
>> ><br>
>> > CRASH REPORT  <0.866.0>                                     2012-05-15<br>
>> > 04:44:30<br>
>> ><br>
>> > ===============================================================================<br>
>> > Crashing process<br>
>> >    initial_call<br>
>> >  {diameter_sctp,init,['Argument__1']}<br>
>> >    pid<br>
>> >  <0.866.0><br>
>> >    registered_name<br>
>> >     []<br>
>> >    error_info<br>
>> >          {error,badarg,<br>
>> >                [{gen_sctp,open,<br>
>> >                           [[binary,<br>
>> >                             {active,once},<br>
>> >                             {reuseaddr,true},<br>
>> >                             {port,3868},<br>
>> >                             {ip,{10,249,8,4}},<br>
>> >                             {ip,{10,249,8,12}}]],<br>
>> >                           [{file,"gen_sctp.erl"},{line,126}]},<br>
>> >                 {diameter_sctp,open,3,<br>
>> >                                [{file,"transport/diameter_sctp.erl"},<br>
>> >                                 {line,227}]},<br>
>> >                 {diameter_sctp,i,1,<br>
>> >                                [{file,"transport/diameter_sctp.erl"},<br>
>> >                                 {line,147}]},<br>
>> >                 {diameter_sctp,init,1,<br>
>> >                                [{file,"transport/diameter_sctp.erl"},<br>
>> >                                 {line,141}]},<br>
>> >                 {proc_lib,init_p_do_apply,3,<br>
>> >                           [{file,"proc_lib.erl"},{line,227}]}]}<br>
>> >    ancestors<br>
>> ><br>
>> >  [diameter_sctp_listener_sup,diameter_transport_sup,diameter_sup,<br>
>> >          <0.779.0>]<br>
>> >    messages<br>
>> >      []<br>
>> >    links<br>
>> >  [<0.803.0>]<br>
>> >    dictionary<br>
>> >      []<br>
>> >    trap_exit<br>
>> >  false<br>
>> >    status<br>
>> > running<br>
>> >    heap_size<br>
>> >  75025<br>
>> >    stack_size<br>
>> >      24<br>
>> >    reductions<br>
>> >     736<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" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
><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" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
</blockquote></div>