[
https://issues.apache.org/jira/browse/DIRMINA-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542134
]
Gabriele Garuglieri commented on DIRMINA-450:
---------------------------------------------
> I am using Linux
You lucky! :)
Thank you.
> 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.