[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ServerSocket.bind
From: |
Mark Wielaard |
Subject: |
Re: [PATCH] ServerSocket.bind |
Date: |
Fri, 26 Dec 2003 15:16:32 +0100 |
Hi Michael,
On Thu, 2003-12-25 at 18:34, Michael Koch wrote:
> After talking with guilhem on irc I got the problem and wrote the
> attached patch. I commited it to trunk already.
>
> Mark: Can you please commit this to classpath ?
Now that you have commit access to classpath back yourself could you do
that? And could you take a look at the following small diff against the
kaffe implementation.
--- java/net/ServerSocket.java 2003-12-25 17:49:41.000000000 +0100
+++ /home/mark/src/kaffe/libraries/javalib/java/net/ServerSocket.java
2003-12-25 16:31:22.000000000 +0100
@@ -228,7 +228,10 @@
try
{
- impl.bind (tmp.getAddress (), tmp.getPort ());
+ if (tmp.getAddress () != null)
+ impl.bind (tmp.getAddress (), tmp.getPort ());
+ else
+ impl.bind (InetAddress.ANY_IF, tmp.getPort ());
impl.listen(backlog);
bound = true;
}
It also comes from Guilhem for freenet he claims. But maybe you already
discussed this.
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part