Commit d5ae9894 authored by Ralf's avatar Ralf
Browse files

listen on all interfaces

parent c8529034
......@@ -23,7 +23,7 @@ def read(conn, mask):
conn.close()
sock = socket.socket()
sock.bind(('localhost', 1234))
sock.bind(('0.0.0.0', 1234))
sock.listen(100)
sock.setblocking(False)
sel.register(sock, selectors.EVENT_READ, accept)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment