code: def _handle_incoming_data(self, conn):
          
          connection = [c for c in self.connections if c.conn == conn][0]
          data = conn.recv(1024)
          if data:
              connection.feed(data)
          else:
              self.connections.remove(connection)
docs: Handle incoming data on socket.