X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Fplomrogue%2Fio_tcp.py;h=45bf4471dcce8be7b6c5cdca45b067afebd7313a;hb=72652ab5bc9917ecf49ef076e6a8eb8d3ca9a710;hp=5cf66d9e19fc2b278cd5ed94e5ea0c6721495a91;hpb=1115fdca9304abdf8a4cb15df30f9015b32e572b;p=plomrogue2-experiments diff --git a/new2/plomrogue/io_tcp.py b/new2/plomrogue/io_tcp.py index 5cf66d9..45bf447 100644 --- a/new2/plomrogue/io_tcp.py +++ b/new2/plomrogue/io_tcp.py @@ -158,7 +158,7 @@ class PlomTCPServer(socketserver.ThreadingTCPServer): """Bind together threaded IO handling server and message queue.""" def __init__(self, queue, port, *args, **kwargs): - super().__init__(('localhost', port), IO_Handler, *args, **kwargs) + super().__init__(('0.0.0.0', port), IO_Handler, *args, **kwargs) self.queue_out = queue self.daemon_threads = True # Else, server's threads have daemon=False. self.clients = {}