Lines Matching refs:network
41 // A listener implements a network listener (net.Listener) for TLS connections.
70 // given network address using net.Listen.
73 func Listen(network, laddr string, config *Config) (net.Listener, error) {
77 l, err := net.Listen(network, laddr)
90 // DialWithDialer connects to the given network address using dialer.Dial and
97 func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
119 rawConn, err := dialer.Dial(network, addr)
162 // Dial connects to the given network address using net.Dial
168 func Dial(network, addr string, config *Config) (*Conn, error) {
169 return DialWithDialer(new(net.Dialer), network, addr, config)