changed source ports in clients to make parallel run possible

master
Gunstick 2013-09-30 23:49:43 +02:00
parent ea4d06c5eb
commit 64c6b6da23
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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)