Hi:
I try to send something over using Python binding:
client.py
import struct
import time
import random
import zmq
ctx = zmq.Context()
s = ctx.socket(zmq.REQ)
s.connect('tcp://127.0.0.1:')
msg = b'ABCD'
print('Type of ', msg, 'is ', type(msg))
while True:
print('send', msg, len(msg))
allback(sigalrm_handler, 2000)
beat.start()
stream.on_recv(echo)
loop.start()
On Mon, Dec 26, 2011 at 5:32 PM, Jon Dyte wrote:
> On 26/12/11 06:27, Hor Meng Yoong wrote:
> > Hi:
> >
> > import struct
> > import time
> > import zmq
> > from zmq.eventloop impor