Skip to content

Multicast bikesheddingΒ #457

Open
Open
@alabamenhu

Description

@alabamenhu

When IO::Socket::Async was designed, its bind-udp was developed just with unicast and broadcast modes in mind, hence it has the option :broadcast, defaulting to :unicast. MoarVM similarly was designed only to handle this option, though I've since added support for multicast.

Adding a :multicast option would, given the current interface, feel nice, but provide two incompatible named arguments. That is

IO::Socket::Async.bind-udp($host, :broadcast, :multicast);

The above makes no sense and will/should ultimately create an error somewhere further down the line at the VM level, which will provide a LTA error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageChanges to the Raku Programming Language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions