[erlang-questions] sctp_peer_addr_params
Mikael Lixenstrand
mikael@REDACTED
Tue Jan 20 17:26:00 CET 2009
I'm trying to change the sack delay in my sctp application
{ok,Socket} = gen_sctp:open([{ip, ServerIPAddress}, {port, ServerPort}]
++ [{sctp_peer_addr_params, #sctp_paddrparams{ assoc_id = 0, address =
{ServerIPAddress ,ServerPort} ,sackdelay = 400}},
{mode, binary},
{active, false},
{sctp_events,#sctp_event_subscribe{address_event = false,
shutdown_event=false}}]),
I tried several different approaches but with the same result:
Error in process <0.7100.1> on node 'mikael@REDACTED' 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...
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090120/8214a1b2/attachment.htm>
More information about the erlang-questions
mailing list