With the latest networking putback, running two copies of the following program succeeds (unexpectedly) on NT, but fails (as expected) on Solaris with a BindException:
public class Sock {
public static void main(String[] args) throws Exception {
new java.net.ServerSocket(1099).accept();
}
}
public class Sock {
public static void main(String[] args) throws Exception {
new java.net.ServerSocket(1099).accept();
}
}
- relates to
-
JDK-6455463 should not be able to rebind on an already used port
- Open
-
JDK-4446078 multiple MulticastSockets on same port fail on Windows
- Closed