Skip to content

Suspect Windows UDP operations #1062

@Ralith

Description

@Ralith

The Windows UDP I/O operations that deal with explicit SocketAddrs seem to be missing the WouldBlock handling that their addressless analogs have, and which are presumably necessary for readiness notification to work: https://github.com/tokio-rs/mio/blob/master/src/sys/windows/udp.rs#L76-L86

Additionally, it's odd that connect has that handling, as UDP connectedness is a purely local convenience function that performs no actual I/O whatsoever, and hence is probably incapable of blocking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions