1,854 questions
setsockopt(IP_MULTICAST_IF) fails with WSAEADDRNOTAVAIL if Ethernet port was never connected
Heesterman, Peter J
1
Reputation point
I am setting multicast to operate over a specific net port.
(The PC has more than one.)
The port is configured with a static IP address, which is correctly passed to the setsockopt function.
This works correctly if the port has been physically connected at any time since the PC booted.
However, if the network port was never physically connected (after boot) it fails with error 10049 (WSAEADDRNOTAVAIL).
Is this the intended behaviour?
Windows for business | Windows Client for IT Pros | Devices and deployment | Other
Sign in to answer