Re: [zeromq-dev] segfault in zmq::stream_engine_t?

2015-12-04 Thread Bob Clarke
I do not know if it is the cause of the crashes, but your memcpy() statement has the third parameter wrong; since you are copying the status object into the message, it should be sizeof(status), not message.size(). On Dec 4, 2015 9:24 AM, "josh knox" wrote: > > > On Fri, Dec

[zeromq-dev] Improper use of PAIR sockets?

2015-08-08 Thread Bob Clarke
may occur soon after the app starts and the user starts clicking around, or it may take hundreds of UI requests to a Listener for the hang to occur. I have not taken the time to distill this down to a small program yet. But, is this an improper use of the PAIR sockets? Thanks. Bob Clarke

Re: [zeromq-dev] ZMQ_CLIENT and ZMQ_SERVER

2015-07-09 Thread Bob Clarke
Oh, good. Because the names DEALER and ROUTER have always been mental speed bumps for me. Bob On Thu, Jul 9, 2015 at 4:22 PM, Pieter Hintjens p...@imatix.com wrote: These are experimental new versions of DEALER and ROUTER, with some semantics tightened up. Undocumented as yet. Please

Re: [zeromq-dev] question about heartbeat

2015-03-22 Thread Bob Clarke
See http://zguide.zeromq.org/page:all#Heartbeating On Sun, Mar 22, 2015 at 4:22 AM, Li Ma skywalker.n...@gmail.com wrote: Hi all, I noticed this thread talking about pub/sub silent disconnection [1]. Actually it seems that I met the same problem. I wonder when the heartbeat is available.

[zeromq-dev] 4.1 download links

2015-01-05 Thread Bob Clarke
The 4.1 download links are labeled RC1, but the what changed page lists the most recent as RC2. Is RC2 available, and if so, can the download links be updated? Thanks. (Guess it's time to learn github -- the answer is probably in there somewhere) Bob

[zeromq-dev] Guide is gone

2014-12-23 Thread Bob Clarke
http://zguide.zeromq.org/page:all is returning a blank page Bob ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] A design question

2014-12-13 Thread Bob Clarke
Platform: 0MQ 4.0.4 on Windows 7/Windows Server 2008 I am writing a server monitoring program to replace an ancient (1999) program that is almost impossible to maintain. All of our application servers host proprietary Windows services written in C++ (except for a couple .Net apps) that use a

[zeromq-dev] zmq_msg_recv flags

2014-12-07 Thread Bob Clarke
It looks like the documentation for the flags has been left out of the documentation at api.zeromq.org, for 3.2 and newer. All I see is The flags argument is a combination of the flags defined below:, followed by blank space. I guess for now, the source is the only place, right? Bob

Re: [zeromq-dev] epgm / pgm / auto discovery in C++ on Windows and VS2013

2014-11-27 Thread Bob Clarke
James - regarding your message setup: std::string szMessageData = Foo; zmq::message_t zmqMsgOut(sizeof(szMessageData) + 1); memcpy((void *)zmqMsgOut.data(), szMessageData.c_str(), sizeof(szMessageData)); 1) why the +1 at the end of the zmqMsgOut setup? Messages are not null terminated (though

Re: [zeromq-dev] PUSH does not seem to release PULL connection message memory

2014-11-10 Thread Bob Clarke
Marc: I have not seen any reply to this. Do you have a simple test program to verify the leak? Bob On Thu, Nov 6, 2014 at 2:03 PM, Marc Norton mnor...@clicksecurity.com wrote: ZMQ Version 4.0.4/Unbuntu 12.04 ___ zeromq-dev mailing list

[zeromq-dev] 4.1 RC is missing MSVC properties files

2014-11-07 Thread Bob Clarke
The supplied projects are expecting debug.props and others to be in the builds\msvc\properties folder, but only Common.props is in the zip file. Can you update the zip file contents? Thanks. Bob ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

[zeromq-dev] 0MQ Windows installers

2014-10-15 Thread Bob Clarke
The installer links for 4.0.5 and for 4.1.0 point back to 4.0.4. I assume that means that the 4.0.5 and 4.1.0 versions are not available yet... Bob ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

[zeromq-dev] The Guide needs a typo fix in a link

2014-10-12 Thread Bob Clarke
Chapter 3 of the guide starts with In Chapter 2 - Sockets and Patterns http://zguide.zeromq.org/php:chapter3#sockets-and-patterns we worked through..., but that link to chapter 2 contains a typo, which causes a return back to the start of chapter 3. The link is

Re: [zeromq-dev] not binging to all LISTEN port

2014-09-23 Thread Bob Clarke
I think his main point is, Why are you using so many sockets? A single ZeroMQ socket can handle a tremendous volume of messages. Your brief code sample shows a REP socket, so can I guess that the other is a REQUEST? Switching to DEALER/ROUTER would get you the request/reply pattern you seem to

Re: [zeromq-dev] not binging to all LISTEN port

2014-09-23 Thread Bob Clarke
one dealer/router? On Tue, Sep 23, 2014 at 9:47 AM, Bob Clarke optiongu...@gmail.com wrote: I think his main point is, Why are you using so many sockets? A single ZeroMQ socket can handle a tremendous volume of messages. Your brief code sample shows a REP socket, so can I guess that the other