summaryrefslogtreecommitdiffstats
path: root/external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py')
-rw-r--r--external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py b/external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py
deleted file mode 100644
index 9afccec3..00000000
--- a/external_libs/python/pyzmq-14.7.0/examples/bench/pyzmq_client.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import zmq
-
-c = zmq.Context()
-s = c.socket(zmq.REQ)
-s.connect('tcp://127.0.0.1:10001')
-
-def echo(msg):
- s.send(msg, copy=False)
- msg2 = s.recv(copy=False)
- return msg2
-
-class Client(object):
- pass
-
-client = Client()
-client.echo = echo