Raw sockets and SCTP ?

The system I am working on already has an SCTP stack implementation and it seems to fails to run on Solaris 10 because of what i think is a conflict between the local OS stack implementation and our own developed stack.

My problems stems from the fact that our custom SCTP implementation relies on opening a RAW socket with the IPPROTO_SCTP protocol. (This worked fine with Solaris 8)

Does anyone know if this is no longer allowed on Solaris 10 ?

I open the socket like:

socket(AF_INET, SOCK_RAW, IPPROTO_SCTP);

and then do a

sendto(...);

but everytime, the sendto() fails with "Cannot assign requested address" . This all worked on Solaris 8 with no problems, but i cannot get it working on Solaris 10.

Can anyone help ? Am I doing anything wrong, or have changes in Solaris 10 simply disallowed RAW sockets with protocol IPPROTO_SCTP (value = 132) ?

Thanks in advance!

[940 byte] By [nextwish] at [2007-11-26 0:45:15]
# 1
Feel free to e-mail your SCTP issues to sctp-questions@sun.com (assuming you haven't done so already).Blaise
blaises at 2007-7-5 19:40:41 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Could you please clarify me whether you could finally execute your program or not?

I am also facing the same kind of problem.

I have some RAW socket user level SCTP implementation which I am trying to run on SOlaris 10.But when I run user level SCTP program, its giving always "Cann't assign Address" i.e ERRNO : 126.

Any clue from everybody...

S_Sastry at 2007-7-5 19:40:41 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

Hi everyone,

I'm having exactly the same problem. I've been googling for hours and this is 1 of the only 2 threads that I found regarding this problem. Sadly, I don't see any answer.

AmitGoel mentioned in another thread that the problem goes away if bind to a non-zero port, I tried, but no luck.

Thanks!

nihc at 2007-7-5 19:40:41 > top of Java-index,Solaris Operating System,Solaris 10 Features...