<p>I'm trying to change the sack delay in my sctp application</p><p> {ok,Socket} = gen_sctp:open([{ip, ServerIPAddress}, {port, ServerPort}] <br> ++ [{sctp_peer_addr_params, #sctp_paddrparams{ assoc_id = 0, address = {ServerIPAddress ,ServerPort} ,sackdelay = 400}},<br>
{mode, binary},<br> {active, false},<br> {sctp_events,#sctp_event_subscribe{address_event = false, shutdown_event=false}}]),</p><p>I tried several different approaches but with the same result:</p><p>
Error in process <0.7100.1> on node 'mikael@lambada' with exit value: {badarg,[{gen_sctp,open,[[{ip,{10,70,160,17}},{port,3868},{sctp_peer_addr_params,{sctp_paddrparams,0,{{10,70,160,17},3868},200,5,600,400,[]}},{mode,binary},{active,false},{sctp_events,{sctp_event_subscribe,undefined,undefined,false,undefined,undefined...</p>
<p>Thanks</p><br><br>