safesocket: delete unused function

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
pull/1846/head
Josh Bleecher Snyder 4 years ago
parent f91c2dfaca
commit 737151ea4a

@ -11,10 +11,6 @@ import (
"syscall" "syscall"
) )
func path(vendor, name string, port uint16) string {
return fmt.Sprintf("127.0.0.1:%v", port)
}
func connect(path string, port uint16) (net.Conn, error) { func connect(path string, port uint16) (net.Conn, error) {
pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port)) pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port))
if err != nil { if err != nil {

Loading…
Cancel
Save