- From: Thomas Dreibholz <dreibh AT iem.uni-due.de>
- To: sctp-discussion AT sctp.de
- Cc: 岳利军 <yuelijun AT gmail.com>
- Subject: Re: [SCTP-Discussion] help:ext_close error!!
- Date: Wed, 21 Oct 2009 12:49:19 +0200
- List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
- List-id: SCTP Discussions <sctp-discussion.sctp.de>
- Organization: University of Duisburg-Essen
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:
signature.asc
Description: This is a digitally signed message part.
Archive powered by MHonArc 2.6.19+.