[erlang-questions] SCTP support

Kukosa, Tomas tomas.kukosa@REDACTED
Fri Jun 11 08:54:53 CEST 2010


Hi Shehan,

I had  already lksctp-tools and lksctp-tools-devel installed. 
Also output of Erlan configuration and make looks good from SCTP point of view.

checking for netinet/sctp.h... yes
checking whether SCTP_UNORDERED is declared... yes
checking whether SCTP_ADDR_OVER is declared... yes
checking whether SCTP_ABORT is declared... yes
checking whether SCTP_EOF is declared... yes
checking whether SCTP_SENDALL is declared... no
checking whether SCTP_ADDR_CONFIRMED is declared... yes
checking for struct sctp_paddrparams.spp_pathmtu... yes
checking for struct sctp_paddrparams.spp_sackdelay... yes
checking for struct sctp_paddrparams.spp_flags... yes
checking for struct sctp_remote_error.sre_data... yes
checking for struct sctp_send_failed.ssf_data... yes


I tried also precompiled Erlang from SUSE repository (http://download.opensuse.org/repositories/devel:/languages:/erlang/SLE_11/x86_64/)
but unfortunately with the same result.

Any other idea what to check?

I will try what happens on 32bit system.

Best regards,
  Tomas
 

-----Original Message-----
From: erlang-questions@REDACTED [mailto:erlang-questions@REDACTED] On Behalf Of shehan
Sent: Friday, June 11, 2010 4:00 AM
To: Kukosa, Tomas
Cc: erlang-questions@REDACTED
Subject: RE: [erlang-questions] SCTP support

Hi Tomas,
Pls install below lksctp RPMS.Then problem should be solved.

lksctp-tools

lksctp-tools-doc

lksctp-tools-devel

Br,
Shehan
-----Original Message-----
From: erlang-questions@REDACTED [mailto:erlang-questions@REDACTED] On
Behalf Of Kukosa, Tomas
Sent: Thursday, June 10, 2010 7:08 PM
To: erlang-questions@REDACTED
Subject: [erlang-questions] SCTP support

Hello,

I have problem with opening SCTP socket. See
-----------
Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.5  (abort with ^G)
1> gen_sctp:open().
** exception error: bad argument
     in function  gen_sctp:open/1
        called as gen_sctp:open([])
2>
-------------

I try it on SLES 11 64bit (kernel 2.6.27).

SCTP on this system works well if I use sctp_darn (from lksctp-tools
package) or if I use OpenJDK7 with SCTP support.

Erlang/OTP has been configured and compiled with --enable-sctp option.

What shall I check to find where the problem could be?

When I try to localize problem I have found that following call fails:
2> prim_inet:open(sctp).
{error,badarg}

Any hint is welcome.

Best regards,
  Tomas
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED

 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5186 (20100610) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED



More information about the erlang-questions mailing list