dotnet / dotnet/aspnetcore

Add support for binding to AF_VSOCK and AF_HYPERV sockets

Open
#34,050 7 comments 2 reactions 0 assignees View on GitHub
area-networking enhancement feature-kestrel help wanted
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Windows added support (in Win 10.14290) for AF_HYPERV (for Hyper-V hosts/ Windows guests) and Linux support for AF_VSOCK has existed in mainline kernel since 3.9 (for Linux hosts/guests). This is useful for IPC communication between process on the hypervisor and in the guest OS

For example, this is what the Docker Desktop for Windows uses to communicate with the Docker Daemon when running in WSL2. I can see this being super useful for workloads like gRPC.

Links:
- https://man7.org/linux/man-pages/man7/vsock.7.html
- https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/make-integration-service

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.