Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test-multicast-join: don't attempt to bind to a multicast address
Browse files Browse the repository at this point in the history
Does not work on Windows. Bind to a normal interface first, then join the
multicast group instead.
  • Loading branch information
piscisaureus committed Jan 31, 2012
1 parent 45d7bd8 commit 8c8e653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-udp-multicast-join.c
Expand Up @@ -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);
Expand Down

0 comments on commit 8c8e653

Please sign in to comment.