[AWS] raised SOCKETS.SOCKET_ERROR : Bind failed (errno is 98)
thierry.lelegard@canal-plus.fr
thierry.lelegard@canal-plus.fr
Wed, 12 Jun 2002 09:24:53 +0200
> Indeed. This is because the the socket is not released immediatly by the OS.
> That beeing said I'm not sure it is a bug or not. I would say that we should
> have a way to properly release a socket... Anyway this is a known issue and
> should be looked at at some point... If you have any idea to fix that...
This is a TCP feature, not a bug. To enable immediate reuse of the port,
set the socket option SO_REUSEADDR on the server socket. It may also be
a good idea to reduce the linger time.
-Thierry
____________________________________________________________________________
Thierry Lelegard, "The Jazzing Troll", Email: thierry.lelegard@canal-plus.fr
CANAL+ Technologies, 34 place Raoul Dautry, 75906 Paris Cedex 15, France
Tel: +33 1 71 71 54 30 Fax: +33 1 71 71 52 08 Mobile: +33 6 03 00 65 75
____________________________________________________________________________