diff --git a/pointscli.py b/pointscli.py index 4918a33..2e26d3a 100644 --- a/pointscli.py +++ b/pointscli.py @@ -20,7 +20,7 @@ def main(): req = points.encode_request(now, cat, team, score) s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) while True: - s.sendto(req, (opts.host, 9999)) + s.sendto(req, (opts.host, 6667)) r, w, x = select.select([s], [], [], 0.2) if r: b = s.recv(500) diff --git a/pointsd.py b/pointsd.py index 2449e6f..49ad8a8 100755 --- a/pointsd.py +++ b/pointsd.py @@ -39,6 +39,5 @@ class MyHandler(socketserver.BaseRequestHandler): if __name__ == "__main__": - HOST, PORT = "localhost", 9999 - server = socketserver.UDPServer((HOST, PORT), MyHandler) + server = socketserver.UDPServer(('', 6667), MyHandler) server.serve_forever()