Skip to content

Multicast does not bind to a specific interface. #6

@dbussert

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

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