Skip to content

wasip3: Unclear how to implement poll for UDP sockets #897

@alexcrichton

Description

@alexcrichton

For TCP/stdio/etc the expectation is that poll is routed to zero-length reads/writes on streams, but UDP doesn't have a stream and only has async functions for senc/recv. I don't believe that the same trick of zero-length reads/writes will work here, so currently I don't believe that UDP sockets can get hooked up to poll.

cc @badeend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions