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.
This commit is contained in:
Bert Belder 2012-01-31 15:54:34 +01:00
parent 45d7bd88c9
commit 8c8e6532bf

View File

@ -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);