tailscale/safesocket/safesocket_plan9.go

20 lines
356 B
Go
Raw Normal View History

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build plan9
package safesocket
import (
"context"
"net"
)
func connect(_ context.Context, path string) (net.Conn, error) {
return net.Dial("tcp", "localhost:5252")
}
func listen(path string) (net.Listener, error) {
return net.Listen("tcp", "localhost:5252")
}