1
votes

Currently, my application code uses udp broadcast to send the packets. While porting the application to ipv6 , how can I send the UDP packets to several nodes. Broadcast ipv4 address cant be passed directly to AF_INET6 sockets. I am new to this field.

1

1 Answers

2
votes

IPv6 doesn't have broadcast. Instead, you need to use multicast, and each host wishing to receive the multicast will need to join the multicast group. Choose the multicast group carefully since IPv6 multicast has scopes and flags in the multicast addressing which you need to respect.