Open
Description
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.