Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WSAEADDRNOTAVAIL error on Windows platform #13

Merged
merged 1 commit into from
May 22, 2016

Conversation

NCrashed
Copy link
Contributor

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 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.

Tested on: Windows 7 x86_64 and Fedora 23 x86_64.

@audreyt audreyt merged commit cf5c942 into audreyt:master May 22, 2016
@audreyt
Copy link
Owner

audreyt commented May 22, 2016

Released as 0.0.12 on hackage. Thank you! 🌈

@NCrashed
Copy link
Contributor Author

Thank you! However 0.1.0 is also affected by the bug.

@audreyt
Copy link
Owner

audreyt commented May 22, 2016

Thanks! Re-released as 0.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows WSAEADDRNOTAVAIL error
2 participants