Skip to content

Multicast does not bind to a specific interface. #6

Description

@dbussert

Listening to multicast does not join a specific interface when calling socket.addMembership(multicast); The datagram documents for addMembership say:

If the multicastInterface argument is not specified, the operating system will choose one interface and will add membership to it. To add membership to every available interface, call addMembership multiple times, once per interface.

My expectation for the options provided is the multicast option is the multicast address to listen to, and the address option is the interface to receive it on. That requires changing the bind and addMembership lines like seen here. vidterra@a43032d

This is similar to the issue described here nodejs/node#19954

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions