[ace-users] SCTP not working

Johnny Willemsen jwillemsen at remedy.nl
Tue Jun 19 12:54:13 CDT 2007


Hi,

There are windows implementations, see
http://www.sctp.org/implementations.html

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see http://remedy.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***
 

> -----Original Message-----
> From: Andy Stafford [mailto:ajstafford at gmail.com] 
> Sent: Tuesday, June 19, 2007 7:51 PM
> To: Johnny Willemsen
> Cc: kvss.chandrasekhar at wipro.com; ace-users at cs.wustl.edu
> Subject: Re: [ace-users] SCTP not working
> 
> To my knowledge there is no implementation of SCTP on Windows, and if
> there is I'm pretty sure ACE doesn't support it.  As for using SCTP
> with Linux, the 2.6+ kernels include LKSCTP (Linux kernel SCTP)
> implementation.  However, you still need to install LKSCTP user-space
> header files which you can find for your distribution by searching for
> lksctp.  Also, in your platform_macros.GNU file you need the following
> line:
> 
> sctp=lksctp
> 
> Hope that helps,
> Andy
> 
> On 6/19/07, Johnny Willemsen <jwillemsen at remedy.nl> wrote:
> > Hi,
> >
> > Have a look at the SCTP tests that are located under 
> ACE_wrappers/tests.
> >
> > Regards,
> >
> > Johnny Willemsen
> > Remedy IT
> > Postbus 101
> > 2650 AC  Berkel en Rodenrijs
> > The Netherlands
> > www.theaceorb.nl / www.remedy.nl
> >
> > *** Integrated compile and test statistics see http://remedy.nl
> > <http://remedy.nl/>  ***
> > *** Commercial service and support for ACE/TAO/CIAO             ***
> > *** See http://www.theaceorb.nl/en/support.html                 ***
> >
> >
> > ________________________________
> >
> >        From: ace-users-bounces at cse.wustl.edu
> > [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of
> > kvss.chandrasekhar at wipro.com
> >        Sent: Tuesday, June 12, 2007 6:50 AM
> >        To: ace-users at cs.wustl.edu
> >        Subject: [ace-users] SCTP not working
> >
> >
> >        Hi,
> >
> >        I am using Opendiameter release 1.0.7-i for one of 
> my projects. This
> > version of opendiameter supports SCTP protocol using SCTP. 
> When I am trying
> > to use SCTP in both Linux and WIndows, it is not working. 
> Below are the
> > further required details.
> >
> >        ACE VERSION : 5.5.1
> >
> >        OPERATING SYSTEM : Window XP and GNU Linux with 
> kernel version
> > 2.6.16.16.
> >        Complier version : VC++ 6.0 in windows, GNU Linux 
> "gcc version 3.2.3
> > 20030502"
> >
> >        I wrote the below program to check whether there is 
> problem with
> > open diameter or ACE in opening SCTP sockets. The below 
> didn't work in both
> > Linux and Windows confirming that the problem is with ACE
> >
> >
> > 
> --------------------------------------------------------------
> --------------
> > 
> --------------------------------------------------------------
> --------------
> > ---------------------
> >          ACE_SOCK_SEQPACK_Acceptor AcceptorSocket;
> >
> >          ACE_Multihomed_INET_Addr ServerAddr (TTCPPORT,
> >        #ifdef ACE_HAS_IPV6
> >                                              (0 ?
> >                                               ACE_IPV6_LOCALHOST :
> >                                               ACE_LOCALHOST)
> >        #else /* ! ACE_HAS_IPV6 */
> >                                               ACE_LOCALHOST
> >        #endif /* ! ACE_HAS_IPV6 */
> >                                               );
> >
> >          if (-1 == AcceptorSocket.open (ServerAddr,
> >                                         1,
> >        #ifdef ACE_HAS_IPV6
> >                                         (0 ? AF_INET6 : AF_INET),
> >        #else /* ! ACE_HAS_IPV6 */
> >                                         AF_INET,
> >        #endif /* ! ACE_HAS_IPV6 */
> >                                         ACE_DEFAULT_BACKLOG
> >        #if defined (IPPROTO_SCTP)
> >                                         ,IPPROTO_SCTP
> >        #endif /* IPPROTO_SCTP */
> >                                        ))
> >          {
> >           printf( "cannot open the listening port\n");
> >          }
> >          else
> >          {
> >           printf( "opened the listening port\n");
> >          }
> >
> >          return 0;
> >
> >
> > 
> --------------------------------------------------------------
> --------------
> > 
> --------------------------------------------------------------
> --------------
> > ---------------------
> >
> >        Please let me know whether I need to use any other 
> libraries along
> > with ACE to use SCTP as transport protocol for any application.
> >
> >
> >        Thanks & Regards,
> >        Chandra Sekhar
> >
> >        The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive 
> use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify 
> the sender
> > immediately and destroy all copies of this message and any 
> attachments.
> >
> >        WARNING: Computer viruses can be transmitted via email. The
> > recipient should check this email and any attachments for 
> the presence of
> > viruses. The company accepts no liability for any damage 
> caused by any virus
> > transmitted by this email.
> >
> >        www.wipro.com
> >
> >
> >        The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive 
> use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify 
> the sender
> > immediately and destroy all copies of this message and any 
> attachments.
> >
> >        WARNING: Computer viruses can be transmitted via email. The
> > recipient should check this email and any attachments for 
> the presence of
> > viruses. The company accepts no liability for any damage 
> caused by any virus
> > transmitted by this email.
> >
> >        www.wipro.com
> >
> >
> >
> > _______________________________________________
> > ace-users mailing list
> > ace-users at mail.cse.wustl.edu
> > http://mail.cse.wustl.edu/mailman/listinfo/ace-users
> >
> 



More information about the Ace-users mailing list