build sctp protocol ss7 openss7

Posted by deddihp on Stack Overflow See other posts from Stack Overflow or by deddihp
Published on 2010-05-06T08:57:03Z Indexed on 2010/05/07 2:18 UTC
Read the original article Hit count: 371

Filed under:
|

hello,
I try to make an ss7 application using openss7 and sctp.
I made some simple application using SCTP. the part of the source code is like below :

    sock_srvr = socket(PF_INET, SOCK_DGRAM, IPPROTO_SCTP);
    if ( sock_srvr == -1 ) {
        perror("socket");
        exit(0);    
    }

and it return

socket: Protocol not supported

do you have any suggestion ?.
Is there anyone who have experience with openss7 before ?

Thanks..

© Stack Overflow or respective owner

Related posts about sctp

Related posts about protocols