[erlang-questions] sctp_peer_addr_params
Mikael Lixenstrand
mikael.lixenstrand@REDACTED
Wed Jan 21 07:52:56 CET 2009
I'm trying to change the sack delay in gen_sctp
{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 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...
I'm running R12B-0 on rhel 5.2
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090121/b6c00653/attachment.htm>
More information about the erlang-questions
mailing list