me = socket.recv()
empty = socket.recv()
toAddr = socket.recv()
empty = socket.recv()
req = socket.recv()
print('%s received!' % str(req))
socket.send(me, zmq.SNDMORE)
socket.send(empty, zmq.SNDMORE)
socket.send(toAddr, zmq.SNDMORE)
socket.send(empty, zmq.SNDMORE)
socket.send('Reply to %s' % str(req))
ZeroMQ ROUTER socket can not send message to REP socket