SCTP Discussions

Text archives Help


Re: Re: [SCTP-Discussion] A question about sctp


Chronological Thread 
  • From: "kc9518" <kc9518 AT cnic.cn>
  • To: "discussion" <discussion AT sctp.de>
  • Subject: Re: Re: [SCTP-Discussion] A question about sctp
  • Date: Mon, 24 Jan 2011 09:44:22 +0800
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>


 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
  
2011-01-24

kc9518

发件人: Michael Tuexen
发送时间: 2011-01-18  17:06:33
收件人: kc9518
抄送: discussion; ajung
主题: Re: [SCTP-Discussion] A question about sctp
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.
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黿en
发送时间: 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 –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



Archive powered by MHonArc 2.6.19+.

Top of page