From 4a4ef31418caa66e2e18b682b5154abd003a9c93 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 3 Mar 2022 12:52:18 +0800 Subject: [PATCH] bugfix --- test/zmqreply.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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()