code: func (h *handler) Accept() (c net.Conn, err error) {
  	conn, ok := <-h.c
  	if !ok {
  		return nil, errors.New("network connection closed")
  	}
  	return conn, nil
  }
docs: // Accept waits for and returns the next connection.