From 64c6b6da239a937fa19f5b0626cf94c1157ed067 Mon Sep 17 00:00:00 2001 From: Gunstick Date: Mon, 30 Sep 2013 23:49:43 +0200 Subject: [PATCH] changed source ports in clients to make parallel run possible --- clients/plasma.py | 4 ++-- clients/test.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/plasma.py b/clients/plasma.py index 08e0440..96fb514 100644 --- a/clients/plasma.py +++ b/clients/plasma.py @@ -6,7 +6,7 @@ import time from math import * # Set the socket parameters -local_port = 5001 +local_port = 5003 # direct html udp port remote_port = 4422 # production port @@ -29,7 +29,7 @@ UDPSock.bind((outgoing_if, local_port)) hash = "s2l\n<8<18 " # 10 bytes -alpha = chr(255) +alpha = chr(55) z_buffer = chr(1) + "\n" diff --git a/clients/test.py b/clients/test.py index e9253f1..fe3d89a 100644 --- a/clients/test.py +++ b/clients/test.py @@ -7,7 +7,7 @@ seg_windows = 12 segments = 8 test = syndelights_canvas("s2l\n<8<18 ", 1, width, height, seg_windows, "127.0.0.1", 5001, "127.0.0.1", 4422, 3) -test = syndelights_canvas("s2l\n<8<18 ", 1, width, height, seg_windows, "127.0.0.1", 5001, "127.0.0.1", 4321, 3) +test = syndelights_canvas("s2l\n<8<18 ", 1, width, height, seg_windows, "127.0.0.1", 5002, "127.0.0.1", 4321, 3) test.connect() test.reset_windows(0, 0, 0, 0, 127)