func (s *Server) Close() error {
	s.askedToClose = true
	if s.listener != nil {
		return s.listener.Close()
	}
	return nil
}
// Close closes listening socket and stops accepting connections
Close closes listening socket and stops accepting connections
// Close closes listening socket and stops accepting connections
func (s *Server) Close() error {
	s.askedToClose = true
	if s.listener != nil {
		return s.listener.Close()
	}
	return nil
}
func ( s * Server ) Close ( ) error { s . askedToClose = true if s . listener != nil { return s . listener . Close ( ) } return nil }
Close closes listening socket and stops accepting connections
Close closes listening socket and stops accepting connections