Option BindIPv6Only is needed to restrict ipv6 to sending IPv6 packets only, without it IPv6 socket can be used to send and receive packet to and from an IPv6 address or an IPv4-mapped IPv6 address.