[erlang-patches] SCTP example code will not compile with these errors

Raimo Niskanen raimo+erlang-patches@REDACTED
Mon Jun 15 14:55:25 CEST 2009


On Thu, May 28, 2009 at 05:11:47PM -0400, Andreas Wagner wrote:
> Hi all,
> 
> frea, bhyde and I found some errors in the sctp client and server example
> code from the docs. Someone with power to edit the docs should fix these
> mistakes:
> 
> sctp_server:
> - The server/1 definition should end with a period not a semicolon
> - orlese should be changed to orelse
> 
> sctp_client:
> - The include file path should be "kernel/include/inet_sctp.hrl"
> - init:stop should end with a period not a semicolon
> - {ok Assoc} should be {ok, Assoc}
> 

Thank you for pointing this out. I have fixed it for R13B01.

Sorry about the delay, I have already answered but into
the void due to self-inflicted mailing list problems.

> http://erlang.org/doc/man/gen_sctp.html#examples
> 
> Regards,
> Andreas Wagner

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list