Network bugfixs

This commit is contained in:
nrhck 2019-03-20 03:00:00 +01:00
parent eb5b9b25f2
commit 904f920a4d
10 changed files with 70 additions and 20 deletions

View file

@ -28,8 +28,8 @@ from osc4py3.as_eventloop import *
from osc4py3 import oscbuildparse
redisIP = '127.0.0.1'
r = redis.StrictRedis(host=redisIP, port=6379, db=0)
#redisIP = '127.0.0.1'
#r = redis.StrictRedis(host=redisIP, port=6379, db=0)
ClientNumber = 0
@ -67,7 +67,7 @@ def SendLJ(oscaddress,oscargs=''):
# Answer to LJ pings
def OSCping(value):
print("I got /ping with value", value)
SendLJ("/pong",value)