The PR fixes #12 and haskell-distributed/distributed-process-simplelocalnet#18 .
On Windows platform one should bind multicast socket to INADDR_ANY or particular network interface address. An attempt to use multicast host as socket address raises WSAEADDRNOTAVAIL error.
The PR uses the INADDR_ANY approach as good enough. Binding to network interface requires additional dependencies on, for instance, network-info package, but behaves identically as proposed fix.
Hi,
The PR fixes #12 and haskell-distributed/distributed-process-simplelocalnet#18 .
On Windows platform one should bind multicast socket to
INADDR_ANY
or particular network interface address. An attempt to use multicast host as socket address raisesWSAEADDRNOTAVAIL
error.The PR uses the
INADDR_ANY
approach as good enough. Binding to network interface requires additional dependencies on, for instance,network-info
package, but behaves identically as proposed fix.Tested on: Windows 7 x86_64 and Fedora 23 x86_64.