#22285
Unix domain socket has been added to windows: [AF_UNIX comes to Windows](https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/)
Golang net pkg has adopted this long ago:
https://go-review.googlesource.com/c/go/+/125456
https://go-review.googlesource.com/c/sys/+/132555
grpc-go already support this.
AF_UNIX on windows is seamlessly integrated with winsock API.
The modification needed are:
* Set the right address family AF_UNIX depending on the address config, instead of using AF_INET6 all the time.
* Ignore socket options for tcp.
Closes #34801
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/34801 from youyuanwu:dev
|
||
|---|---|---|
| .. | ||
| sockaddr_uri_corpus | ||
| BUILD | ||
| parse_address_test.cc | ||
| parse_address_with_named_scope_id_test.cc | ||
| sockaddr_utils_fuzzer_test.cc | ||
| sockaddr_utils_test.cc | ||