SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] help:ext_close error!!


Chronological Thread 
  • From: 岳利军 <yuelijun AT gmail.com>
  • To: Thomas Dreibholz <dreibh AT iem.uni-due.de>
  • Cc: sctp-discussion-request AT sctp.de, sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] help:ext_close error!!
  • Date: Thu, 22 Oct 2009 00:28:18 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PSB35st+yD5qevL5Synzh7UhAINlPv1tMPq2H7l6FvUO9XQwmUCewg6sDeqc1jLIHl T40gF7x3Tzs0MNA+bUAZ2MSgWSaTbbI2QowLTSACHOrx7kopgc4M0F662pykPVKuwNOt wYG8Gb3ytzRTSow3ZmqOtT9wuBR4fkFnis2p4=
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Dr. Thomas Dreibholz,
 
     Thank you very much for your patient!
     Now I send my modified program file to you,I just add one line code in "newexample1to1.c"(in line 218).I did that just want to show the main problem to you,so I haven't modified other codes.
     Thank you again!
 
 yours owen!

2009/10/21 Thomas Dreibholz <dreibh AT iem.uni-due.de>
On Mittwoch 21 Oktober 2009, 岳利军 wrote:
> Dear Dr. Thomas Dreibholz,
>     Thank you very much for you reply!
>     I understand what's your means,but what I did is like that.
> Example:
> sd = socket(...)
>
> newSD1 = ext_accept()
> ...
> ext_close(newSD1)
> ...
> ext_close(sd)
>
>    when the programs run to "ext_close(newSD1)",the error wil occur.For
> example,if sd = 1023 and newSD1 is 1022,the error is
> "ERROR:ext_close(1022)----still in use!".
>    I have used the socketapi's socket_programs codes for a test,just add
> "ext_close(newSD1)" after "ext_accept",the error will happen.

Could you send me your modified program files (just the .c file is
sufficient). Then, I will have a look.


Best regards
--
=======================================================================
 Dr. Thomas Dreibholz

 University of Duisburg-Essen,                   Room ES210
 Inst. for Experimental Mathematics              Ellernstraße 29
 Computer Networking Technology Group            D-45326 Essen/Germany
-----------------------------------------------------------------------
 E-Mail:     dreibh AT iem.uni-due.de
 Homepage:   http://www.iem.uni-due.de/~dreibh
=======================================================================

Attachment: newexample1to1.c
Description: Binary data




Archive powered by MHonArc 2.6.19+.

Top of page