Skip to content

Commit

Permalink
Merge pull request #140 from arixmkii/win_sock
Browse files Browse the repository at this point in the history
Allow unix sockets on windows
  • Loading branch information
cfergeau authored Sep 20, 2022
2 parents 8d91f6d + 2216518 commit 5b1aff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/transport/listen_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ func Listen(endpoint string) (net.Listener, error) {
VMID: hvsock.GUIDWildcard,
ServiceID: svcid,
})
case "unix":
return net.Listen(parsed.Scheme, parsed.Path)
case "tcp":
return net.Listen("tcp", parsed.Host)
default:
Expand Down

0 comments on commit 5b1aff8

Please sign in to comment.