Mark <markreed99 <at> gmail.com> writes:

> 
> I modified the hello world client to time a single send and recv across 
> my network and get 1.6ms:

Note that I removed the sleep from hwserver.py. 

import time
import zmq

context = zmq.Context()
socket = context.socket(zmq.REP)
socket.bind("tcp://*:port")

while True:
    message = socket.recv()
    socket.send(b"World")

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to