You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
356 B
19 lines
356 B
// 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")
|
|
}
|
|
|