From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7456bf9a718d1372 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsfeeder.ewetel.de!newsreader.ewetel.de!news01.atlas.de!news From: Stefan Naewe Newsgroups: comp.lang.ada Subject: Re: AWS and deconnection Date: Wed, 04 Jun 2008 11:48:31 +0200 Organization: EWE TEL GmbH Message-ID: References: NNTP-Posting-Host: 194.156.172.17 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news1.ewetel.de 1212573724 20341 194.156.172.17 (4 Jun 2008 10:02:04 GMT) X-Complaints-To: abuse@ewetel.net NNTP-Posting-Date: Wed, 4 Jun 2008 10:02:04 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14 ThunderBrowse/3.2.1.4 Mnenhy/0.7.5.0 In-Reply-To: X-Replace-Address: yes Xref: g2news1.google.com comp.lang.ada:561 Date: 2008-06-04T11:48:31+02:00 List-Id: On 6/4/2008 11:31 AM, Sébastien Morand wrote: > Hi, > > I'm using AWS for developping a Web application but I got some problems > during my tests. > > Actually whenever I launch the application (for instance on port 8000) I > test somes pages, everything is fine. But I have to make a fast > modification (let's say, about 1 minute) and then I try to launch again, > I got the following error message: > > raised AWS.NET.SOCKET_ERROR : Bind : [98] Address already in use > > The point is, there is still TIME_WAIT after the shutdown of the server. > How can I be sure that the connection are all properly closed before > ending the server? > > I'm using the shutdown method of AWS, but it looks like it's not enough. > > thanks by adance, > Sebastien GIYF: http://hea-www.harvard.edu/~fine/Tech/addrinuse.html S. -- Stefan Naewe stefan dot naewe at atlas-elektronik dot com Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html