SCTP Discussions

Text archives Help


[SCTP-Discussion] help:ext_close error!!


Chronological Thread 
  • From: 岳利军 <yuelijun AT gmail.com>
  • To: sctp-discussion AT sctp.de
  • Subject: [SCTP-Discussion] help:ext_close error!!
  • Date: Wed, 21 Oct 2009 09:53:54 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ut3y8lKZDiGook+YlLIVmTC52Z58pQkb/iQVb+P9izHSA64C946ANcH3Rmj0UCyTcd mTlQ4+kntMYKJ9coSFCk7OwYNfaT0aTEDlBpZhV3xKZG6c6m4b5EfajJ5F7/HStfg2Oz KHR7zbHzpVJXc0jpOw+fVUWnGSgXSGS0idB3M=
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

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.
 
Best Regards!
 
yours Owen!



Archive powered by MHonArc 2.6.19+.

Top of page