From 8c8e6532bf72def18a2827d0180b903bcee90331 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 31 Jan 2012 15:54:34 +0100 Subject: [PATCH] test-multicast-join: don't attempt to bind to a multicast address Does not work on Windows. Bind to a normal interface first, then join the multicast group instead. --- test/test-udp-multicast-join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-udp-multicast-join.c b/test/test-udp-multicast-join.c index 159dba08..b32ef073 100644 --- a/test/test-udp-multicast-join.c +++ b/test/test-udp-multicast-join.c @@ -99,7 +99,7 @@ TEST_IMPL(udp_multicast_join) { int r; uv_udp_send_t req; uv_buf_t buf; - struct sockaddr_in addr = uv_ip4_addr("239.255.0.1", TEST_PORT); + struct sockaddr_in addr = uv_ip4_addr("127.0.0.1", TEST_PORT); r = uv_udp_init(uv_default_loop(), &server); ASSERT(r == 0);