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

multicast does not work on Windows #18

Closed
mboes opened this issue Jun 22, 2015 · 3 comments
Closed

multicast does not work on Windows #18

mboes opened this issue Jun 22, 2015 · 3 comments

Comments

@mboes
Copy link
Contributor

mboes commented Jun 22, 2015

From @edsko on October 23, 2012 8:30

"bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL))

Copied from original issue: haskell-distributed/distributed-process#54

@NCrashed
Copy link
Contributor

NCrashed commented May 21, 2016

Stack trace:

C:\dev\dp-issue18>dp-issue18 slave 127.0.0.1 9999 +RTS -xc
*** Exception (reporting due to +RTS -xc): (THUNK_2_0), stack trace:
  Control.Distributed.Process.Backend.SimpleLocalnet.Internal.Multicast.initMulticast,
  called from Control.Distributed.Process.Backend.SimpleLocalnet.initializeBackend,
  called from Main.main
*** Exception (reporting due to +RTS -xc): (THUNK_2_0), stack trace:
  Control.Distributed.Process.Backend.SimpleLocalnet.Internal.Multicast.initMulticast,
  called from Control.Distributed.Process.Backend.SimpleLocalnet.initializeBackend,
  called from Main.main
*** Exception (reporting due to +RTS -xc): (THUNK_2_0), stack trace:
  Control.Distributed.Process.Backend.SimpleLocalnet.Internal.Multicast.initMulticast,
  called from Control.Distributed.Process.Backend.SimpleLocalnet.initializeBackend,
  called from Main.main
dp-issue18: bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL))

Stack project which I used to reproduce the bug.

@NCrashed
Copy link
Contributor

NCrashed commented May 21, 2016

Until the fix is not in upstream one can workaround the bug by adding following in project stack.yaml:

- location:
    git: https://github.com/NCrashed/network-multicast
    commit: bb3447abc058378f81d06ffb6bceaa01d441ab47

@NCrashed
Copy link
Contributor

network-multicast-0.0.12 released on hackage with the fix.

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

No branches or pull requests

2 participants