1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
12 func connector(t *testing.T, network, addr string, done chan<- bool) {
13 defer func() { done <- true }()
15 c, err := net.Dial(network, addr)
23 func acceptor(t *testing.T, ln net.Listener, done chan<- bool) {
24 defer func() { done <- true }()