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,ASCII Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news.cs.univ-paris8.fr!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <48467073.8090901@obry.net> Date: Wed, 04 Jun 2008 12:37:39 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: =?ISO-8859-1?Q?S=E9bastien_Morand?= Subject: Re: AWS and deconnection References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 04 Jun 2008 12:37:40 CEST NNTP-Posting-Host: 90.35.55.221 X-Trace: 1212575860 news.orange.fr 890 90.35.55.221:3942 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:562 Date: 2008-06-04T12:37:40+02:00 List-Id: S�bastien, > 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 This is expected and OS dependent. There is no such problem on Windows for example. This is a security issue AFAIK. It is not possible to reuse an address for some time after a process has been using it. For production it is better. While developing it is possible to set "reuse_address" to 'true" either using a .ini file or dynamically into a config object. Note that all AWS questions are best addressed into the AWS's mailing-list. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595