listen.go
func (l *listener) Accept() (transport.Conn, error) {
	if c, ok := <-l.incoming; ok {
		return c.conn, c.err
	}
	return nil, fmt.Errorf("listener is closed")
}
func (l *listener) Accept() (transport.Conn, error) {
	if c, ok := <-l.incoming; ok {
		return c.conn, c.err
	}
	return nil, fmt.Errorf("listener is closed")
}
func ( l * listener ) Accept ( ) ( transport . Conn , error ) { if c , ok := <- l . incoming ; ok { return c . conn , c . err } return nil , fmt . Errorf ( " " ) }
// Accept waits for and returns the next connection to the listener.
Accept waits for and returns the next connection to the listener .