code: def add_socket(self, socket):
          
          if socket not in self._sockets:
              self._sockets.add(socket)
              socket.on_closed.connect(self.remove_socket)
docs: Add a socket to the multiplexer.
  
          :param socket: The socket. If it was added already, it won't be added a
              second time.