Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Async TcpStream #75

@relufi

Description

@relufi

I encountered an exception while running the following code

let stream = smol::Async::<std::net::TcpStream>::connect("one.one.one.one:80".to_socket_addrs().unwrap().next().unwrap()).await;

Err(Os { code: 88, kind: Unsupported, message: "Function not implemented" })

The error is here
https://github.com/esp-rs-compat/socket2/blob/9cdd55ac7abc59aa6613a1302eb3d8bcdbe56ab7/src/socket.rs#L707

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions