Dear Sir:
Now I run the server and
terminal5 in different host.
I run echoserver in 192.168.22.115
with ./echo_server -i and terminal5 in 192.168.22.116 with
./terminal5 -d 192.168.22.115 -i , then I got a error report
"sctp_receiveUnsent: unknown value (-5) returned."
Could you give me some advice?
Thank you
Are you runing client and server on the same host?
Best regards
Michael
Sent from my iPhone
On Jan 18, 2011, at 7:35, "kc9518" <kc9518 AT cnic.cn> wrote:
Dear Sir:
Thank you for your advice!
My OS is CentOS5.4.
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.
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 –performance 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
> http://www.sctp.de/mailman/listinfo/sctp-discussion