Windows does not allow to connect a DatagramSocket to ADDR_ANY (0.0.0.0)
------------------------------------------------------------------------

                 Key: DIRMINA-450
                 URL: https://issues.apache.org/jira/browse/DIRMINA-450
             Project: MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 2.0.0-M1
         Environment: Win XP sp2
Java 1.5.0_12
            Reporter: Gabriele Garuglieri


A couple of tests are consistently failing on Windows because it does not allow 
to connect a DatagramSocket to ADDR_ANY (0.0.0.0).

org.apache.mina.transport.socket.nio.DatagramConfigTest.testAcceptorFilterChain()
 line 72
            ConnectFuture future = connector.connect(new 
InetSocketAddress(port));
should be
            ConnectFuture future = connector.connect(new 
InetSocketAddress("localhost", port)); // or "127.0.0.1"

org.apache.mina.example.echoserver.AcceptorTest.testUDP() line 99
            client.connect(new InetSocketAddress(port));
should be
            client.connect(new InetSocketAddress("localhost", port)); // or 
"127.0.0.1" 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to