[ace-users] SCTP using ACE on Windows
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Jun 11 08:29:24 CDT 2007
Hi Gobal,
To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in
$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM
or in
$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM
in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness. If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.
> I am writing SCTP application using ACE on Widows XP platform and
>using ACE 5.5.1.
Please upgrade to ACE+TAO+CIAO x.5.8 (i.e., ACE 5.5.8, TAO 1.5.8, and
CIAO 0.5.8), which you can download from
http://download.dre.vanderbilt.edu
under the heading: "Latest Beta Kit".
The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO commercial
support.
Thanks,
Doug
> Am unble make SCTP work on. Here is code that i have
>written. When i execute the (compilation is successful) it errors out
>with message that (cannot open the listening port). I would like to
>know if I need to enable any flag to make it SCTP work on Windows or
>am i missing something in my code? Any help or pointers in this regard
>would be highly appreciated!
>Here is the code that i have written...
>
>#include "ace/SOCK_SEQPACK_Connector.h"
>#include "ace/SOCK_SEQPACK_Acceptor.h"
>#include <stdio.h>
>#define TTCPPORT 5001
>#define BYTE_MESG 0xcd
>
>int main()
>{
> 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;
>}
>
>Thanks and Regards,
>Gopal
>
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list