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:
parent
45d7bd88c9
commit
8c8e6532bf
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user