SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] help, question about idexample1toM.c and terminal.c


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: 奕成 <p7695175 AT mail.ncku.edu.tw>
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] help, question about idexample1toM.c and terminal.c
  • Date: Sat, 13 Sep 2008 08:16:25 +0200
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

You need to use listen(fd, 1), not zero, that is a bug.

If you are running client and server on the same host, you
need to disable OOTB handling, so terminal -i ... is required.

Best regards
Michael

On Sep 12, 2008, at 12:27 PM, 奕成 wrote:

I reference the draft-ietf-tsvwg-sctpsocket-07.txt
And the socket_program code ,
I saw the context in idexmaple1toM.c is difference in below of the draft-ietf-tsvwg-sctpsocket-07.txt
Its means ext_listen(fd, 0) is difference from draft-ietf-tsvwg- sctpsocket-07.txt (ext_listen(fd, 1),
So , when I want to execute idexmaple1toM using sudo ./idexample1toM and sudo ./terminal remote_address ,
Always show , “”incoming association, but not in listen mode -> rejecting association! “”
But if I modify idexmaple1toM.c ext_listen(fd, 0) to ext_listen(fd, 1) and recompiler,
The terminal side , could connect , but will show “ terminated ! ” after “connecting .. okay!” it means I cant type any message , it will terminated ..
Thanks your response in advanced .
YCL
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion





Archive powered by MHonArc 2.6.19+.

Top of page