Skip to content

Should wasi-sockets have an opinion about broadcast? #723

@jeffparsons

Description

@jeffparsons

Also, multicast?

I originally raised this question here: bytecodealliance/wasmtime#7148 (comment)

In brief, I'm wondering if it's intended for wasi-sockets to have any special knowledge of UDP broadcast, or if they should be handled implicitly the same way all other restrictions on target addresses are.

If the answer is "it's all just UDP, so we do what UDP does and don't add any weird extras to the API" then would it be worth explicitly drawing attention to this in the spec? E.g. "if in doubt about how this API will behave, assume it is the same as the corresponding behaviour in Berkley sockets" or something?

Thanks! 💖

P.S.: I don't have any strong opinion about this — even about documenting it. I just thought just in case it hadn't been discussed that might be worth raising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-socketsProposal: wasi-sockets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions