Skip to content

UDS tpt backend breaks windows on import.. #405

@goodboy

Description

@goodboy

Apparently us linux heads totally forgot (specifically in #375)
that windows doesn't have (obvious) support for unix-domain-sockets,
though TIL apparently there is/has-been support ?? (for a long
time)

To start we likely just want to fix the immediate crash-on-import

Bp

So for that we should prolly do all of,


On the topic of UDS support in the windows kernel, this blog post claims support was added "Beginning in Insider Build 17063"..

That build page further states,

Unix style sockets (AF_UNIX) are available on Windows AF_UNIX is an
address family which has enabled inter-process communication on
Unix for countless years. The windows equivalent is named pipes,
which offers similar facilities. Based on user feedback, we heard
that you’d like an easier path when porting tools relying on
AF_UNIX to Windows. As a result, two Win32 processes can now use
the AF_UNIX address family over Winsock API to communicate with
each other. Read this blog for more details.

and the blog post claims and/or links these further resources:

  • only TCP-like "reliable" use is supported per,

    Currently, the support only exists for the stream (SOCK_STREAM)
    socket type, which is a connection-oriented protocol for one-to-one
    communication. Support for the datagram (SOCK_DGRAM) can be
    considered in future depending on the adoption, feedback and
    scenarios.

    • we [are already using this type] afaik, so we-should-be-gud?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions