[zeromq-dev] Dealer

2011-12-25 Thread yanbinbin
hi guys: Merry Christmas. Another question: I read the zeromq reference,the pattern DEALER in the function zmq_socket, Compatible peer sockets ZMQ_ROUTER, ZMQ_REQ, ZMQ_REP. So will i exactly get the data to use a DEALER pattern as a server, and DEALER pattern as

Re: [zeromq-dev] Resource temporarily unavailable

2011-12-25 Thread Ashok Chippa
It seems to be working with XREP-XREQ pair... On Sat, Dec 24, 2011 at 8:31 PM, Ashok Chippa a.n.chi...@gmail.com wrote: I have gone through the Missing Message Problem Solver - I am using inproc, but as expected I am binding before connect, and I am calling zmq_init() only once... I am a

Re: [zeromq-dev] Resource temporarily unavailable

2011-12-25 Thread malist i
I think there are something wrong in 3.1.0 beta release with ZMQ_ROUTER. I changed my C code exactly as said in Upgrading from libzmq 2.1 to 3.1, http://www.zeromq.org/docs:3-0-upgrade. My code works with 2.1.8 and 2.1.11 but it does not work with zeromq-3.1.0-beta (from web page). I tried

[zeromq-dev] Change of type after sending over

2011-12-25 Thread Hor Meng Yoong
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))