No, I am only connected to only a single wifi interface which supports IPv6 multicast.
For IPv4, it is working fine. I am able to send/receive data using the code mentioned here:
[quote='788532021, vishalsehgal, /thread/788532, /profile/vishalsehgal']
import Network
import Foundation
// Creating a mutlicast group endpoint
[/quote]
But for IPv6, it is failing with the following errors/warnings:
nw_endpoint_flow_failed_with_error [C1 ff02::1.49153 waiting parent-flow (unsatisfied (Local network prohibited), interface: en0[802.11], ipv4, ipv6, uses wifi)] already failing, returning
nw_socket_connect [C1:1] connectx(7, [srcif=0, srcaddr=::.62838, dstaddr=ff02::1.49153], SAE_ASSOCID_ANY, 0, NULL, 0, NULL, SAE_CONNID_ANY) failed: [48: Address already in use]
nw_socket_connect [C1:1] connectx failed (fd 7) [48: Address already in use]
nw_socket_connect connectx failed [48: Address already in use]
nw_endpoint_flow_failed_with_error [C1 ff02::1.49153 in_progress socket-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns, uses wifi)] already failing, returning
I tried specifying the .requiredInterfaceType property as .wifi too but it didn't affect the output in both the cases.
My questions are:
Why is it failing for IPv6 but not for IPv4?
Are there any configurations or setup that I need to do for IPv6 to make it work?
Topic:
App & System Services
SubTopic:
Networking
Tags: