I'm using domain socket (gRPC) to exchange data between processes, the following code:
rpcListener, err = net.Listen("unix", "path\\to\\my\\uds.sock")
if err != nil {
l.Errorf("start gRPC server failed: %s", err)
return
}
will throw following error
start gRPC server failed: listen unix path\to\my\uds.sock: socket: An address incompatible with the requested protocol was used.
On windows 10, this works ok, is windows-server-2008/windows-7 not support domain socket?
There are bugs listing on golang net package, but only point out
Windows
, not specific windows release.There also a C# same error thread here