Skip to content

Patch for adding multicast support #15

Description

@frankeverdij

Some sensors we have use multicast addresses to transmit payloads.
Async_comm lacks support for multicasts, but it can be enabled simply by adding the multicast group-join option to the UDP socket.

I've written a small patch to src/udp.cpp. It checks if the destination address is a multicast address and enables the multicast group_join if so.
async_comm_multicast.patch.txt

I tested this successfully with a sensor sending multicast packets on 225.0.0.1

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