SCTP example code will not compile with these errors

Andreas Wagner andreasbwagner@REDACTED
Thu May 28 23:11:47 CEST 2009


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}

http://erlang.org/doc/man/gen_sctp.html#examples

Regards,
Andreas Wagner


More information about the erlang-patches mailing list