changed source ports in clients to make parallel run possible
parent
ea4d06c5eb
commit
64c6b6da23
|
@ -6,7 +6,7 @@ import time
|
||||||
from math import *
|
from math import *
|
||||||
|
|
||||||
# Set the socket parameters
|
# Set the socket parameters
|
||||||
local_port = 5001
|
local_port = 5003
|
||||||
# direct html udp port
|
# direct html udp port
|
||||||
remote_port = 4422
|
remote_port = 4422
|
||||||
# production port
|
# production port
|
||||||
|
@ -29,7 +29,7 @@ UDPSock.bind((outgoing_if, local_port))
|
||||||
|
|
||||||
hash = "s2l\n<8<18 " # 10 bytes
|
hash = "s2l\n<8<18 " # 10 bytes
|
||||||
|
|
||||||
alpha = chr(255)
|
alpha = chr(55)
|
||||||
|
|
||||||
z_buffer = chr(1) + "\n"
|
z_buffer = chr(1) + "\n"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ seg_windows = 12
|
||||||
segments = 8
|
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", 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.connect()
|
||||||
test.reset_windows(0, 0, 0, 0, 127)
|
test.reset_windows(0, 0, 0, 0, 127)
|
||||||
|
|
Loading…
Reference in New Issue