code: func (s *Server) Sockets() []*Socket {
  	// Lock the mutex.
  	s.socketsMutex.Lock()
  	defer s.socketsMutex.Unlock()
  
  	// Create the slice.
  	list := make([]*Socket, len(s.sockets))
  
  	// Add all sockets from the map.
  	i := 0
  	for _, s := range s.sockets {
  		list[i] = s
  		i++
  	}
  
  	return list
  }
docs: // Sockets returns a list of all current connected sockets.
  // Hint: Sockets are added to the active sockets list before the OnNewSocket
  // event function is called.
  // Use the IsInitialized flag to determind if a socket is not ready yet...