[ace-users] SCTP not working

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


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
		




More information about the Ace-users mailing list