def start(self):
        s = socket.socket()
        s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        s.bind(('', config.socketport))
        s.listen(1)

        try:
            while 1:
                conn, addr = s.accept()
                print('Connected by', addr)
                newClient = websocketclient.WebSocketClient(conn, addr, self)
                self.clients.append(newClient)
                newClient.start()
        except KeyboardInterrupt:
            [client.close() for client in self.clients]
            s.close()
formats a tuple
dataset/ETHPy150Open adngdb/python-websocket-server/websocketserver.py/WebSocketServer.start--crossover with--dataset/ETHPy150Open CGATOxford/cgat/CGAT/SVGdraw.py/_viewboxlist