Could you send me your modified program files (just the .c file isOn 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.
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+.