diff --git a/test/zmqreply.py b/test/zmqreply.py index 0cf3643..a34aa5b 100644 --- a/test/zmqreply.py +++ b/test/zmqreply.py @@ -5,14 +5,11 @@ def handler(b): print(b.decode('utf-8')) return 'got it' -x = ZmqReplier('tcp://127.0.0.1:9999', handler) +x = ZmqReplier('tcp://127.0.0.1:5555', handler) x.run() f = 0 while 1: time.sleep(0.1) - if f==0: - print(dir(x.sock.get_peer())) - f += 1 x.stop()