- From: Yves Lafon <ylafon@w3.org>
- Date: Fri, 28 Jan 2000 15:59:13 +0100 (MET)
- To: Anders Meyer <Anders_Meyer@pol.dk>
- cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
On Fri, 28 Jan 2000, Anders Meyer wrote:
> Hi!
>
> I am having some trouble with jigsaw - in takes up all ip-addresses
> allthoug the socketbindaddress is specified - i looked at the
> implementation:
> public ServerSocket createServerSocket()
> throws IOException
> {
> // using maxCLient in the backlog is safe, but an overkill :)
> if (bindAddr != null) {
> return new ServerSocket (server.getPort(), maxClients);
> } else {
> return new ServerSocket (server.getPort(),
> Math.max(128, maxClients),
> bindAddr);
> }
> }
>
>
> Hmmm... If bindaddr is defined it's not used! Is that a bug or did I miss
> something?
Argh, a stupid typo! It should be "if (bindAddr == null)" of course.
Fixed and commited... Thanks!
/\ - Yves Lafon - World Wide Web Consortium -
/\ / \ Architecture Domain - Jigsaw Activity Leader
/ \ \/\
/ \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org
Received on Friday, 28 January 2000 09:58:34 UTC