<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=017543804-11062007><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial size=2>ACE VERSION :
5.5.1</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial size=2>OPERATING SYSTEM :
Window XP and GNU Linux with kernel version 2.6.16.16.</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial size=2>Complier version :
VC++ 6.0 in windows, GNU Linux "gcc version 3.2.3 20030502"</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial size=2>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 </FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face=Arial
size=2>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face="Book Antiqua" size=2>
ACE_SOCK_SEQPACK_Acceptor AcceptorSocket;</FONT></SPAN></DIV>
<DIV><FONT face="Book Antiqua"></FONT> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face="Book Antiqua" size=2>
ACE_Multihomed_INET_Addr ServerAddr (TTCPPORT,<BR>#ifdef
ACE_HAS_IPV6<BR>
(0
?<BR>
ACE_IPV6_LOCALHOST
:<BR>
ACE_LOCALHOST)<BR>#else /* ! ACE_HAS_IPV6
*/<BR>
ACE_LOCALHOST<BR>#endif /* ! ACE_HAS_IPV6
*/<BR>
);</FONT></SPAN></DIV>
<DIV><FONT face="Book Antiqua"></FONT> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face="Book Antiqua" size=2> if
(-1 == AcceptorSocket.open
(ServerAddr,<BR>
1,<BR>#ifdef
ACE_HAS_IPV6<BR>
(0 ? AF_INET6 : AF_INET),<BR>#else /* ! ACE_HAS_IPV6
*/<BR>
AF_INET,<BR>#endif /* ! ACE_HAS_IPV6
*/<BR>
ACE_DEFAULT_BACKLOG<BR>#if defined
(IPPROTO_SCTP)<BR>
,IPPROTO_SCTP<BR>#endif /* IPPROTO_SCTP
*/<BR>
))<BR> {<BR> printf( "cannot open the listening
port\n");<BR> }<BR> else<BR> {<BR> printf( "opened
the listening port\n");<BR> }</FONT></SPAN></DIV>
<DIV><FONT face="Book Antiqua"></FONT> </DIV>
<DIV><SPAN class=017543804-11062007><FONT face="Book Antiqua" size=2>
return 0;</FONT></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><FONT face="Book Antiqua"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial
size=2>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2>Please let me know whether I need to use any other libraries
along with ACE to use SCTP as transport protocol for any
application.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2>Thanks & Regards,</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=017543804-11062007><SPAN class=017543804-11062007><FONT
face=Arial size=2>Chandra Sekhar</FONT></SPAN></SPAN></DIV>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000><BR>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. <BR><BR>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.<BR><BR>www.wipro.com<BR></FONT></TD></TR></TBODY></TABLE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
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. <br>
<br>
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.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>