On Mon, Sep 02, 2002 at 11:16:06AM +0300, Michael Sternberg wrote: > On 02 Sep 2002 11:07:55 +0300 > Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote: > > I still did not got answer from anybody on how to create this situation. I > mean how to write a faulty client/server application suite that will leave > sockets in CLOSE_WAIT state...
socket() bind() listen() while(1) accept() fork() with no close () with no close() telnet to your port, press '^]' and you'll have CLOSE_WAIT untill you ^C your server. > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] -- Unix Administration, | http://www.unixadmin.co.il locally and remotely. | [EMAIL PROTECTED] Planning, installation, | Phone: 972-3-6201373 support & upgrades. | Location: Unrestricted ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]