You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/06/07 10:02:07 UTC

[jira] Closed: (DIRMINA-450) Windows does not allow to connect a DatagramSocket to ADDR_ANY (0.0.0.0)

     [ https://issues.apache.org/jira/browse/DIRMINA-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-450.
-------------------------------------


> 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
>         Environment: Win XP sp2
> Java 1.5.0_12
>            Reporter: Gabriele Garuglieri
>            Assignee: Trustin Lee
>
> 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.