microsoft / microsoft/WSL

Windows AF_UNIX SOCK_DGRAM request

Open
#5,272 8 comments 24 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
Per the blog post announcing AF_UNIX on windows, "Support for the datagram (SOCK_DGRAM) can be considered in future depending on the adoption, feedback and scenarios"

Not sure if it has been asked for elsewhere, but I have a use case where I would find this very helpful

Describe the solution you'd like
The ability to create SOCK_DGRAM AF_UNIX style sockets, thus allowing message boundaries to be preserved

Describe alternatives you've considered
Adding my own basic message boundary headers in a stream socket connection. However, I'd like to be able to plug this into existing libraries that expect datagram sockets without needing to be aware of such a header

Additional context
Note: I am not sure if this is the perfect place to put the request, but https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ links to this issue tracker

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked AF_UNIX-on-Windows blog post and the existing WSL issue discussion; no implementation files or tests are identified in the report. Determine the scope needed for SOCK_DGRAM AF_UNIX-style sockets and verify that message boundaries are preserved for existing datagram-oriented libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.