[erlang-bugs] gen_sctp documentation error
Sverker Eriksson
sverker@REDACTED
Tue Jun 28 11:05:07 CEST 2011
Thank you. I'll correct that.
/Sverker, Erlang/OTP
Michal Ptaszek wrote:
> Hello,
>
> in the examples section of gen_sctp module (sctp_server.erl) it is said:
>
> {ok,S} = gen_sctp:open([{ip,IP},{port,Port}],[{recbuf,65536}]),
> io:format("Listening on ~w:~w. ~w~n", [IP,Port,S]),
>
> but gen_sctp API has changed, so the example should probably now
> look like:
>
> {ok,S} = gen_sctp:open(Port, [{recbuf, 65536}, {ip, IP}]),
> io:format("Listening on ~w:~w. ~w~n", [IP,Port,S]),
>
> Best regards,
> Michal Ptaszek
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
More information about the erlang-bugs
mailing list