comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: "Sébastien Morand" <seb.morand@gmail.com>
Subject: Re: AWS and deconnection
Date: Wed, 04 Jun 2008 12:37:39 +0200
Date: 2008-06-04T12:37:40+02:00	[thread overview]
Message-ID: <48467073.8090901@obry.net> (raw)
In-Reply-To: <g25naj$vud$1@registered.motzarella.org>

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



  reply	other threads:[~2008-06-04 10:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  9:29 AWS and deconnection Sébastien Morand
2008-06-04 10:37 ` Pascal Obry [this message]
2008-06-04 11:26   ` Sébastien Morand
2008-06-04 12:00     ` Pascal Obry
  -- strict thread matches above, loose matches on Subject: below --
2008-06-04  9:31 Sébastien Morand
2008-06-04  9:48 ` Stefan Naewe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox