SCTP Discussions

Text archives Help


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


Chronological Thread 
  • From: 奕成 <p7695175 AT mail.ncku.edu.tw>
  • To: <sctp-discussion AT sctp.de>
  • Subject: [SCTP-Discussion] help, question about idexample1toM.c and terminal.c
  • Date: Fri, 12 Sep 2008 18:27:49 +0800
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

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




Archive powered by MHonArc 2.6.19+.

Top of page