Re: [zeromq-dev] VS2013, Targets Can't Find libzmq.lib When Linking

2016-02-05 Thread B. Scott Harper
It looks like it's not appending the "dynamic" (or "static") when looking for libzmq.lib. I'm attaching the log file. (I don't know if that will work on this list, so if it fails I'll email it to you directly.) On Fri, Feb 5, 2016 at 5:38 PM, Pieter Hin

Re: [zeromq-dev] libzmq\builds\msvc\msvc.sln is missing

2016-02-05 Thread B. Scott Harper
I had assumed that, since Visual Studio solutions were provided, CMake would not be useful for configuring builds on Windows. I would be happy to learn that my assumption was erroneous. On Fri, Feb 5, 2016 at 5:26 PM, Sergei Nikulov wrote: > 2016-02-05 11:08 GMT+03:00 Jihad Mahmoud : > > Hello A

Re: [zeromq-dev] libzmq\builds\msvc\msvc.sln is missing

2016-02-05 Thread B. Scott Harper
. -- Scott On Fri, Feb 5, 2016 at 5:08 PM, Jihad Mahmoud wrote: > Hello All > > I am using ZMQ for the first time and while I was following the > instructions for installing it on Windows libzmq\builds\msvc\msvc.sln > wasn't found. I assumed the libmzq in VS2010 is the alternativ

[zeromq-dev] VS2013, Targets Can't Find libzmq.lib When Linking

2016-02-04 Thread B. Scott Harper
the library, I would guess based on looking over their code) so it's not a problem to me that they don't actually link properly, but it may interest someone else to look into. I'm happy to help where I can. Cheers, -- Scott ___ zero

[zeromq-dev] Should Add Windows Instructions to INSTALL or README?

2016-02-04 Thread B. Scott Harper
uration files were. This setup is a bit confusing, and I feel like it wouldn't hurt to throw in a couple sentences for building on Windows. Cheers, Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] zsys_hostname() crash and fix

2015-03-04 Thread McMillan, Scott A
ost->h_name? strdup (host->h_name): NULL; to return host && host->h_name? strdup (host->h_name): NULL; Thanks, Scott P.S. Sorry, I don't have a GitHub account so I can't send a pull request. Hopefully this fix is small enough that this won't be necessary. P.P.S

[zeromq-dev] meaning of ZMQ_EVENT_CONNECTED

2015-02-03 Thread McMillan, Scott A
ocket is in the CONNECTED state before publishing. However, even with the socket in the CONNECTED state, the first few messages are usually lost. Does ZMQ_EVENT_CONNECTED actually mean that the connection is fully established and ready for pubs? Or something lesser? Thanks, Scott P.S. Sorry

Re: [zeromq-dev] Truncated publish messages

2015-01-28 Thread McMillan, Scott A
On 1/28/15, 12:34 PM, "McMillan, Scott A" wrote: >If I understand the documentation correctly, ZMQ_LINGER will not help >because the program itself exits. Sorry to respond to myself, but I may have just gotten confused by the documentation on linger. The zmq-setsockopt docume

[zeromq-dev] Truncated publish messages

2015-01-28 Thread McMillan, Scott A
t poll that and only exit when there are no pending messages. Or is the only reliable method to have the subscriber send an ack and not let the publisher exit until it receives the ack? Thanks, Scott * 100KB will consistently reproduce the issue. ___

[zeromq-dev] ZMQ 4.0.5 -- Error in ZMQ_RECVMORE example ?

2015-01-03 Thread Scott
In the following sample code from website, you can get inconsistent results since 'getsockopt' stores and (int) 0 or 1 in the thing pointed at with the &more reference, which in this case is an int64 as opposed int32. That said, as you can see the function does dutifully set the length of the valu

Re: [zeromq-dev] ELI5: Why can't I get the IP address of the machine that sent a message?

2014-09-27 Thread Scott
Understand and agree with all of the above re: IP address. However, some sort of 'source transport specific information' (there's always some unique identifier associated w/ the transport) could be useful (sometimes it would be IP address). That said - I think the logging / debugging support satis

Re: [zeromq-dev] ELI5: Why can't I get the IP address of the machine that sent a message?

2014-09-25 Thread Scott
On Wed, Sep 24, 2014 at 7:45 PM, Goswin von Brederlow wrote: > As a side note: The monitoring interface exposes the IP address. You > can use that to monitor who connects (for logging purposes). > Well that's useful to know! To be clear, we aren't interested in using IP for security purposes, b

[zeromq-dev] ELI5: Why can't I get the IP address of the machine that sent a message?

2014-09-24 Thread Scott
chine was doing this. Is there a design reason that we lose this information in the area between plain ol sockets and ZMQ messages getting delivered to the application? Thanks for your patience and such a great library! -Scott ___ zeromq-dev mailing

[zeromq-dev] pub/sub and multicast

2014-07-23 Thread McMillan, Scott A
o use multicast, then the second line would be replaced with something like: zmq_bind (publisher, "pgm://..."); Am I understanding this correctly? Thanks, Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Context wrangling

2014-04-22 Thread Scott Gibbons
ry and get a feel for how this should be handled. Both fmq_client_new() and fmq_server_new() create contexts for themselves before spawning their threads. The track.c program creates both a client and a server and its mainline never creates a context (or destroys one). What am I missing? Thanks, --Scott ___

Re: [zeromq-dev] zyre logging

2014-03-28 Thread Scott Gibbons
Thanks, but zyre_log.h isn't installed in /usr/local/include. I've commented on https://github.com/zeromq/zyre/issues/147. Was it intended to be installed? Thanks, --Scott On Fri, Mar 28, 2014 at 1:50 AM, Pieter Hintjens wrote: > The logging API is defined in zyre_log.h; i

[zeromq-dev] zyre logging

2014-03-27 Thread Scott Gibbons
Is there an example anywhere on how logging can be done from a zyre node? What I mean is if I do a zyre_new(), zyre_start(), then wait for a peer node with "X-ZRELOG" header to arrive, how do I send log messages to the logger peer? Thank

[zeromq-dev] Building zyre

2014-03-24 Thread Scott Gibbons
.c: In function 'zyre_peer_connect': zyre_peer.c:125:9: error: format not a string literal and no format arguments [-Werror=format-security] These are all on zsocket_connect calls. Thanks, --Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.or

[zeromq-dev] 4.0.4 with java lang binding

2014-03-22 Thread Scott Lewis
these bindings work with 4.0.4? If not, is there any expectation that they will be (and if so, when?). Thanks, Scott [2] https://github.com/zeromq/jeromq ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/z

[zeromq-dev] Anyone using filemq?

2014-03-14 Thread Scott Gibbons
Hi all. I have a project where filemq seems like it would be an ideal fit. Is anyone using this in a production environment? If so, do you have any feedback, either positive or negative? Thanks, --Scott ___ zeromq-dev mailing list zeromq-dev

Re: [zeromq-dev] rfc <-> versions?

2014-02-26 Thread Scott Lewis
..I'm just coming in trying to understand what I can depend upon as a new user of 0mq and the specific lang bindings. Thanks again, Scott -- Pieter [1] http://rfc.zeromq.org/spec:22 ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lis

[zeromq-dev] rfc <-> versions?

2014-02-26 Thread Scott Lewis
dn't find it here [1]. Thanksinadvance, Scott [1] http://zeromq.org/bindings:java ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Failed assert in fq.cpp line 102

2013-12-24 Thread Stew Scott
Does anyone have some insight as to how this assert could fail if multipart messages are all-or-nothing? Original message From: Stew Scott Date: 12/21/2013 12:07 PM (GMT-07:00) To: zeromq-dev@lists.zeromq.org Subject: [zeromq-dev] Failed assert in fq.cpp line 102 We are

[zeromq-dev] Failed assert in fq.cpp line 102

2013-12-21 Thread Stew Scott
d not be possible to fail in this manner. Can someone with more familiarity with this part of the code tell me under what conditions this assert would fire? Stew Scott Core Engineer Mob 303.521.8755 steward.sc...@aventurahq.com 1001 Seventeenth Street, Suite SL-100 Denver, Colorado 8020

[zeromq-dev] A questiion about signaler_t::make_fdpair on Windows

2013-11-27 Thread Stew Scott
different port if our software is going to be installed on a device where that port is already taken. I notice in the comments of the function that it mentions using a dynamic port, but doesn't actually do so. Stew Scott ___ zeromq-dev mailing list zerom

[zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread Townsend, Scott E. (GRC-RTM0)[Vantage Partners, LLC]
MInRk noted that: You cannot continue to use zmq sockets after a fork - you have to take care in your application that no sockets created before the fork will be [not be] used by any calls in the child process.​ Thanks, that makes sense. But can anyone provide guidance in how to do that?

[zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread Townsend, Scott E. (GRC-RTM0)[Vantage Partners, LLC]
We have a system which uses Python multiprocessing to run multiple simulations concurrently in child processes, with main server <-> child process communication using multiprocessing. This works fine standalone. For a GUI, we use zeromq and tornado for communications between the main server an

[zeromq-dev] poll loop

2013-03-21 Thread Scott
I've got a app which works good. Now I need to make it fault tolerant. In my polling loop, how can I verify that a connection is still valid?     scott -- ___ zeromq-dev mailing list z

[zeromq-dev] poll loop

2013-03-21 Thread Scott
more graceful than than calling zmq_recv. Also for loadbalancing in other circumstances, this could be a great feature.     scott -- ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] PGM with NO NAKs?

2012-08-15 Thread Scott
ant to use SQNS, then do I need to set the MAX BIT rate so it knows how long to wait? If I only want it to wait 1ms, I don't see how I can do that with PGM_RXW_SECS Thanks again for the help, -S On Tue, Aug 14, 2012 at 7:19 PM, Steven McCoy wrote: > On 14 August 2012 21:53, Scott wrote: &

[zeromq-dev] PGM with NO NAKs?

2012-08-14 Thread Scott
brary just to get this sort of behavior when we need it; especially when the rest of the library is full of so much awesome. -Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Mission accomplished

2011-11-10 Thread Scott Rushforth
OMQ is amazing. It has changed the way I do things. Thank you. And great read :) - Scott On Nov 10, 2011, at 7:27 AM, tlrx wrote: > Just discovered 0MQ few weeks ago, and I'm already using it. > > Thanks for this great project. > > -- Tanguy > > Le 10 novembre

Re: [zeromq-dev] Any way to flush or clear or manage ports?

2011-09-04 Thread Scott Asher
try setting found at: *HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters* I think you can set it as low as 30s and the default is 120s, so 30s will be much less annoying if you are constantly creating/deleting listening sockets. Scott On Sun, Sep 4, 2011 at 6:00 AM, wrote: > Send

Re: [zeromq-dev] Assert on pgm_getsockopt (Win7 x64, ZMQ 2.1.7, OpenPGM 5.1.116 )

2011-08-17 Thread Scott Asher
something is wrong with mutlipart messages. Scott #include #include #include //#define USE_PGM zmq::context_t cxt(1); void worker(void) { zmq::socket_t pub(cxt, ZMQ_PUB); _int64 Rate= 1; _int64 LB

Re: [zeromq-dev] Assert on pgm_getsockopt (Win7 x64, ZMQ 2.1.7, OpenPGM 5.1.116 )

2011-08-17 Thread Scott Asher
those parts are garbled. I am debugging further now to see if I can dig up exactly where the issue is. Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Assert on pgm_getsockopt (Win7 x64, ZMQ 2.1.7, OpenPGM 5.1.116 )

2011-08-17 Thread Scott Asher
Okie doke, I've created LIBZMQ-240: https://zeromq.jira.com/browse/LIBZMQ-240 ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Assert on pgm_getsockopt (Win7 x64, ZMQ 2.1.7, OpenPGM 5.1.116 )

2011-08-17 Thread Scott Asher
Thanks Martin! That works perfectly. On Wed, Aug 17, 2011 at 11:55 AM, Martin Sustrik wrote: > On 08/17/2011 05:13 PM, Scott Asher wrote: > > How does this code ever work? What am I missing here? I have compiled >> both OpenPGM and ZMQ 2.1.7 in x64. >> > > Can

[zeromq-dev] Assert on pgm_getsockopt (Win7 x64, ZMQ 2.1.7, OpenPGM 5.1.116 )

2011-08-17 Thread Scott Asher
I missing here? I have compiled both OpenPGM and ZMQ 2.1.7 in x64. Thanks, Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Exception in thread "main" java.lang.UnsatisfiedLinkError: no jzmq in java.library.path (Windows)

2011-02-26 Thread Scott Asher
issue is without more info? Scott On Sat, Feb 26, 2011 at 5:40 AM, wrote: > Send zeromq-dev mailing list submissions to >zeromq-dev@lists.zeromq.org > > To subscribe or unsubscribe via the World Wide Web, visit >http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] source material for TIBCO to ØMQ mi gration

2011-01-03 Thread Scott
t! On Mon, Jan 3, 2011 at 4:49 PM, Steven McCoy wrote: > On 4 January 2011 04:41, Scott wrote: >> >> Has there been much historical discussion about UNRELIABLE multicast >> PUB/SUB? We certainly have applications that just use OSC/UDP >> multicast, since it's bette

Re: [zeromq-dev] source material for TIBCO to ØMQ mi gration

2011-01-03 Thread Scott
Has there been much historical discussion about UNRELIABLE multicast PUB/SUB? We certainly have applications that just use OSC/UDP multicast, since it's better for the application to get the latest data if it didn't get a previous message; but I'd rather migrate everything to zmq! On Mon, Jan 3, 2

Re: [zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

2010-12-21 Thread Scott
22 December 2010 01:34, Scott wrote: > >> >> -DCONFIG_HAVE_GETTIMEOFDAY=1 -DCONFIG_HAVE_FTIME >> > >> > I don't think these should be here for Darwin, the latter two are >> covered >> > by pgm/impl/features.h. >> >> Yes they are - bu

[zeromq-dev] OpenPGM build process

2010-12-21 Thread Scott
* files in openpgm, and put them somewhere in the zeromq tree in an autotools friendly manner, so it would keep them from interfering with each other, and it would make tracking the openpgm folks easier. -Scott ___ zeromq-dev mailing list zeromq-dev@lis

Re: [zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

2010-12-21 Thread Scott
On Tue, Dec 21, 2010 at 1:44 AM, Steven McCoy wrote: > On 21 December 2010 16:26, Scott wrote: >> >> + >> >> +PGMEXTRASOURCE = \ >> +       ../foreign/openpgm/@pgm_basename@/openpgm/pgm/getprotobyname.c \ >> +       ../foreign/openpgm/@p

Re: [zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

2010-12-21 Thread Scott
rent build, and this supresses the inclusion of impl/features.h Thanks for the useful feedback. This is my first time in autotools land and it's a little overwhelming. :) On Tue, Dec 21, 2010 at 1:28 AM, Mikko Koppanen wrote: > On Tue, Dec 21, 2010 at 8:49 AM, Scott wrote: >>

Re: [zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

2010-12-21 Thread Scott
the format of the changes, or if folks think I should make an OSX branch? On Tue, Dec 21, 2010 at 12:26 AM, Scott wrote: > Hey folks... I added support for OpenPGM on OS X 10.6 (Snow Leopard), > here's what it involved: > > 1) latest openpgm -- configure.in conditionally

[zeromq-dev] [patch] 0001-Added-support-for-latest-OpenPGM-5.1.99-on-OSX10.6.patch

2010-12-21 Thread Scott
y) in the way of testing. But I'd rather get your feedback sooner than later, so I can do this in a way that is most compatible w/ the awesome zeromq ethos! -Scott --patch follows inline below-- >From 167544fb9e3622781e89d05fead5754e147710f8 Mon Sep 17 00:00:00 2001 From: Scott Watso

[zeromq-dev] Assertion failed: !more || pipes [current] != pipe_ (..\..\..\src\fq.cpp:61)

2010-12-07 Thread Scott Asher
d non-deterministically (which makes it very tough to debug). Figured I would mention it in case anyone had comments (about what could be going on). If it keeps up, I will try to produce a minimal test case. Will require me understanding the underlying code stack

Re: [zeromq-dev] Regarding java binding of 0MQ.

2010-11-24 Thread Scott Asher
Sure, but we should hash out what the best solution is. The Java binding has done more wrapping than the C/C++ underlying ZeroMQ code so to expose all of the functionality we either do some unwrapping (or just expose the details by making them public), or we write additional wrapper functions (e.g

Re: [zeromq-dev] Regarding java binding of 0MQ.

2010-11-24 Thread Scott Asher
2) You can register a socket twice because your register functions have no existence check. I don't know what the behavior is here (haven't tested it). On the Java side I basically have to do a lot of recreating pollers that I don't have to d

[zeromq-dev] ZMQ_PAIR block on send?

2010-11-22 Thread Scott Asher
Hello, Just querying about expecting behavior in 2.1.0. If I'm connecting a ZMQ_PAIR and I bind() one end and then send() before I connect the other end, my send() blocks, even though I've set HWM on the socket to 0, and I've got ZMQ_NOBLOCK being set. Is this e

Re: [zeromq-dev] WSABASEERR -- help?

2010-11-17 Thread Scott Asher
To be clear - when I refer to "No Error" -- this is the message I get back from zmq_strerror(). On Wed, Nov 17, 2010 at 10:00 AM, Scott Asher wrote: > I'm receiving this error thrown from zmq_poll after I destroy a > socket, then replace the socket within my zmq::pollit

[zeromq-dev] WSABASEERR -- help?

2010-11-17 Thread Scott Asher
I'm receiving this error thrown from zmq_poll after I destroy a socket, then replace the socket within my zmq::pollitem_t structure. Any ideas what is going on? The "No Error" descriptor is not terribly helpful! Scott ___ zeromq-dev mail

[zeromq-dev] Assertion failed: Bad address (..\..\..\src\tcp_socket.cpp:92)

2010-11-17 Thread Scott Asher
re than ~5 external clients connected, leave them connected, and then restart the server. I apologize for not being able to isolate it more, but it's not easy to reproduce. I figured I would mail the list to see if anyone has experience with this error and had any obvious suggestions.

[zeromq-dev] Issue with 2.0.10 java binding -- poll

2010-10-20 Thread Scott Asher
the change? Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] If pub started before any subs, is ZMQ_NOBLOCK ignored?

2010-09-28 Thread Scott Asher
Hi Pieter, thanks for your quick response. >Scott, > >1. what precise socket types are you using? >2. afaik you do not need noblock on a sndmore > >-Pieter So, the "idiot" alert should be active (i.e. I am an idiot). I have a bunch of wrapper code and in my base co

[zeromq-dev] If pub started before any subs, is ZMQ_NOBLOCK ignored?

2010-09-28 Thread Scott Asher
ore is simply a wrapper which calls socket.send with ZMQ_NOBLOCK & ZMQ_SNDMORE. The code above blocks until at least 1 sub is connected, then works fine. Any ideas? Am I doing something dumb? Thanks, Scott ___ zeromq-dev mailing list zeromq-dev@l

[zeromq-dev] Quick Question - how to get address of message sender?

2010-09-27 Thread Scott Asher
Does ZMQ obscure this? zmq_msg_t doesn't seem to contain it, and I couldn't find any useful documentation. Thanks in advance! Scott ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev