Skip to content

Socket Inheritance on Windows with TcpListener #1892

@samin-cf

Description

@samin-cf

Hi all,

With the current implementation of mio's TcpListener, the socket is inherited by any child processes. The std library's TcpListener uses WSASocketW which does not have this issue due to the explicit WSA_FLAG_NO_HANDLE_INHERIT.

Would it be feasible to use WsaSocketW in mio?

Metadata

Metadata

Assignees

No one assigned

    Labels

    windowsRelated to the Windows OS.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions