- From: "kc9518" <kc9518 AT cnic.cn>
- To: "discussion" <discussion AT sctp.de>, "tuexen" <tuexen AT fh-muenster.de>, "tuexen" <tuexen AT fh-muenster.de>, "tuexen" <tuexen AT fh-muenster.de>, "tuexen" <tuexen AT fh-muenster.de>, "tuexen" <tuexen AT fh-muenster.de>, "discussion" <discussion AT sctp.de>, "tuexen" <tuexen AT fh-muenster.de>, "ajung" <ajung AT exp-math.uni-essen.de>
- Cc: tuexen <tuexen AT fh-muenster.de>
- Subject: Re: Re: [SCTP-Discussion] A question about sctp
- Date: Tue, 18 Jan 2011 14:35:18 +0800
- List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
- List-id: SCTP Discussions <sctp-discussion.sctp.de>
Dear Sir:
Thank you for your advice!
My OS is CentOS5.4.
I change the sctplib with version 1.0.9
, now the echo_server is working fine.But
there is a error report when I run the http://www.student.nada.kth.se/~u1djajou/SCTP/terminal5.c
and http://www.student.nada.kth.se/~u1djajou/SCTP/terminal6.c ,
I run it using follow steps:
1 copy terminal5.c to prgrams path
(sctplib-1.0.9/sctplib/programs /)
2 compile terminal5.c with command
"gcc terminal5.c sctp_wrapper.c -o terminal5 -L/usr/local/lib -lsctplib"
3 ./terminal5 192.168.22.116 -i
(192.168.22.116 is echo_server's ip)
then I get
a error report
"sctp_send: internal error !
Floating point exception"
when I run the terminal6.c follow the same
steps, I get a error report
"sctp_associate: an error occured.
sctp_associate: an error occured.
sctp_associate: an error occured.
sctp_associate: an error occured.
sctp_associate: an error occured.
sctp_associate: an error occured.
sctp_associate: an error occured."
Could you give me some advice?
Thank you
2011-01-18
kc9518
发件人: Michael_T�xen
发送时间: 2011-01-17 17:01:28
收件人: kc9518
抄送: discussion
主题: Re: [SCTP-Discussion] A
question about sctp
On Jan 16, 2011, at 8:21 AM, kc9518 wrote:
> Dear Sir:
>
> I'm very interested in the SCTP example codes you provided in your SCTP �Cperformance and security as follows:
>
> Test 3 & 4
> Client (multiple streams) - http://www.student.nada.kth.se/~u1djajou/SCTP/terminal5.c
> Client (multiple assoc) - http://www.student.nada.kth.se/~u1djajou/SCTP/terminal6.c
> Server - http://www.student.nada.kth.se/~u1djajou/SCTP/echo_server.c
>
> I compiled the echo_server.c, all is ok.But when I run it, there is a error report as
> ' Error Info: 13:26:59.782 - setsockopt: IPV6_PKTINFO failed ' .
>
> I traced the error, and find that it is reported from the adaptation.c in sctplib (the version is 1.0.4). So I recompiled the sctplib use under command:
> ./configure --disable-ipv6
> make
>
> But there is another error: adaptation.c:3216: error: 'union sockunion' has no member named 'sin6'
> Could you give me some advice?
Please retest with the latest version:
http://www.sctp.de/download/sctplib-1.0.9.tar.gz
Which OS are you using?
Best regards
Michael
>
> Thank you.
>
> 2011-01-16
> kc9518
> _______________________________________________
> sctp-discussion mailing list
> sctp-discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/sctp-discussion
Archive powered by MHonArc 2.6.19+.