[zeromq-dev] Proposed minor changes to spec:21

2015-09-04 Thread Osiris Pedroso
I happened across 0MQ and I am really excited to use it in a project at work. I am still reading The Guide and the web site in general. I came across some inconsistencies/typos in this (stable) RFC and would like to point them out. These are comments related to http://rfc.zeromq.org/spec:21 ===

[zeromq-dev] Building stable zeromq-4.1.3 on Windows

2015-09-16 Thread Osiris Pedroso
I downloaded Windows sources for zeromq-4.1.3 and when using the DevStudio 2013 solution (...\builds\msvc\vs2013\libzmq.sln) I get multiple build errors such as these: 1> curve_server.cpp 1>x:\shared\zeromq\src\curve_client.hpp(41): fatal error C1083: Cannot open include file: 'sodium.h': No such

[zeromq-dev] How to define a global queue

2015-12-23 Thread Osiris Pedroso
class that can be used on all these three messaging systems simply by changing one source line in the class factory. Thanks, Osiris Pedroso PS: Spoiler alert: ZeroMQ is the hands down performance winner! :-) PPS: If you do extend the samples provided (you need to sign up for premium services on

[zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
My name is Osiris Pedroso and I am new to ZeroMQ. I am a Windows software developer with 30+ years of experience, mostly in C/C++. I would like to learn how to build/develop ZMQ in Windows and how to interact with the ZMQ community. I followed the steps in this page (https://github.com/zeromq

Re: [zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
Hi Peter, I used git to clone libzmq master like this: c:\> git clone https://github.com/zeromq/libzmq I found the solution file for my DevStudio version here: c:\libzmq\builds\msvc\vs2013\libzmq.sln I opened it and when I built it, I get same errors are when I did get on libzmq-4.1.4 clone: 1>c

Re: [zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
uff to vs2015 and build it, > plus czmq (in another sibling, libzcmq/ I think) with VS Express. > > -brian carcich > > On Mon, Jan 18, 2016 at 3:31 PM, Osiris Pedroso > wrote: > >> Hi Peter, >> >> I used git to clone libzmq master like this: >> c:\> git cl

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

2016-02-05 Thread Osiris Pedroso
Agreed. There are also problems if one wants to build Zyre and Malamute, since the SLN files expect some files to be in specific locations that have to be hand copied from the other projects to get it to build in Windows as well. I second the request. As Peter says, can you make the changes and mak

Re: [zeromq-dev] Builds failing

2016-02-05 Thread Osiris Pedroso
I second this request. I would rather have a clean build that new functionality being added that may break the build it even further. Best regards, Osiris On Fri, Feb 5, 2016 at 10:33 AM Arnaud Loonstra wrote: > Hi all, > > I was trying to get the zyre CI builds to run successfully again. It >

Re: [zeromq-dev] Nanomsg postmortem

2016-02-08 Thread Osiris Pedroso
Very interesting read. It confirms Pieter's view that every pull request should be merged, no matter the direction it takes us. This adds/keep a contributor interest in the project, which ultimately keeps the project alive in the long run. But I still think the minimum bar should be that a PR sho

[zeromq-dev] LIBZMP tests failing

2016-02-09 Thread Osiris Pedroso
Testsuite summary for zeromq 4.2.0 # TOTAL: 80 # PASS: 77 # SKIP: 0 # XFAIL: 2 # FAIL: 1 # XPASS: 0 # ERROR: 0 ==

[zeromq-dev] Missing definiton in Malamute's BNF

2016-02-15 Thread Osiris Pedroso
I am looking at malamute/mlm_proto.bnf and noticed that the following message is not defined: stream-traffic = C:STREAM-WRITE ( S:OK / S:ERROR ) / C:STREAM-READ / C:*STREAM-PUBLISH* / S:STREAM-DELIVER STREAM-PUBLISH is not defined in th

[zeromq-dev] Latest libzmq tests fail

2016-02-19 Thread Osiris Pedroso
I work in Windows mostly, so when I see something that happens in Windows, I don't assume same is happening in Linux. I making some changes to compilation of libzmq in Windows and I wanted to make sure my changes do not break the Linux builds. So I got an Ubuntu 14.04 LTS VM and after 20+ years o

Re: [zeromq-dev] Latest libzmq tests fail

2016-02-19 Thread Osiris Pedroso
at some stage. > > The large memory test is IMO bogus as it sends a message of MAX_INT > size which is toxic for some systems. I think the right solution is to > limit message size to rather below that. > > On Fri, Feb 19, 2016 at 3:17 PM, Luca Boccassi > wrote: > > On 19 Febr

[zeromq-dev] Building ZGuide

2016-02-22 Thread Osiris Pedroso
I am trying to build ZGuide. Selfish reason is that I am using same ascii diagrams to describe my architecture and would like to use the same toolset to generate the graphics/pdf, since I like ZGuide's graphics so much. I have an up to date Ubuntu 14.04 LTS VM that I am running. I got the ZGuide

Re: [zeromq-dev] Building ZGuide

2016-02-23 Thread Osiris Pedroso
Thanks guys, That was very helpful. I was finally able to do it. Just sent a pull request, so next person will have an easier time. Thanks again, Osiris On Mon, Feb 22, 2016 at 5:26 PM Luca Boccassi wrote: > On 22 February 2016 at 21:57, Osiris Pedroso wrote: > > I am trying to bui

Re: [zeromq-dev] odd error from pyzmq

2016-02-26 Thread Osiris Pedroso
Isn't the problem that both sides are binding? I believe one side should bind, the other should connect. On Fri, Feb 26, 2016 at 1:15 PM Jerry Scharf wrote: > Hi, > > That's not it. I added a gethostbyname to the code, that works but the > bind still fails. I did a simple socket connect to the h

Re: [zeromq-dev] odd error from pyzmq

2016-02-26 Thread Osiris Pedroso
Cut and paste always gets me too... :-) On Fri, Feb 26, 2016 at 1:59 PM Osiris Pedroso wrote: > Isn't the problem that both sides are binding? > I believe one side should bind, the other should connect. > > On Fri, Feb 26, 2016 at 1:15 PM Jerry Scharf < > sch...@lagunaw

Re: [zeromq-dev] odd error from pyzmq

2016-02-28 Thread Osiris Pedroso
> > On 02/26/2016 11:59 AM, Osiris Pedroso wrote: > > Isn't the problem that both sides are binding? > I believe one side should bind, the other should connect. > > On Fri, Feb 26, 2016 at 1:15 PM Jerry Scharf < > sch...@lagunawayconsulting.com> wrote: > >

Re: [zeromq-dev] State of libzmq versioning

2016-02-29 Thread Osiris Pedroso
Hi Arnaud, The "Edit on GitHub" (top right link) which links to " https://github.com/zeromq/pyre/blob/doc/docs/index.rst"; on page " https://pyre.readthedocs.org/en/latest/"; is broken. Fixing it would be best way to get people contributing to the documentation effort. Thanks, Osiris On Mon, Feb

[zeromq-dev] Talking about Zyre

2016-03-04 Thread Osiris Pedroso
I know Zyre does work on a processes running on a local machine. Does it also work on network segments? If so, can it be tailored to only search so many segments away using TTL in TCP/IP packets? Thanks, Osiris ___ zeromq-dev mailing list zeromq-dev@li

[zeromq-dev] LIBZMQ license

2016-03-04 Thread Osiris Pedroso
The file COPYING in libzmq indicates that liqzmq is licensed under GPLv3. There is no mention to a statically linked exception. The ZeroMQ site licensing page indicates that it is "GPLv3 plus a statically linking exception". But this is not stated anywhere in the

Re: [zeromq-dev] LIBZMQ license

2016-03-04 Thread Osiris Pedroso
Hi Luca, That makes sense. Thanks, Osiris Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Mar 4, 2016, at 16:27, Luca Boccassi wrote: > >> On Fri, 2016-03-04 at 12:37 +0000, Osiris Pedroso wrote: >> The file COPYING in libzmq indicates that liqzmq

[zeromq-dev] How to build CZMQ in Windows?

2016-03-09 Thread Osiris Pedroso
I need instructions on how to build CZMQ in Windows. I have DevStudio 2013. I have successfully built libzmq on a parallel dir (g:\libzmq) using CMAKE steps: mkdir cmake-make cd cmake-make cmake .. This gives me the following library built: g:\> dir/s/b *.lib g:\libzmq\cmake-make\lib\Debug\libzm

Re: [zeromq-dev] How to build CZMQ in Windows?

2016-03-09 Thread Osiris Pedroso
; - unpack and rename “master” folder to “zyre” (important to ensure > referenced paths in other builds are set correctly) > > - navigate to zyre/builds/msvc/vs2013 and open zyre.sln in VS2013. > > - select Win32 or x64 target (preferably the same as the other libs). > > - buil

Re: [zeromq-dev] How to build CZMQ in Windows?

2016-03-09 Thread Osiris Pedroso
github master; these functions were > added recently. > > On Wed, Mar 9, 2016 at 3:50 PM, Osiris Pedroso wrote: > > Thanks Johan. That helped me to get CZMQ built. > > I am interested in building Zyre as well, so thanks for the steps. > > > > But building Zyre fro

Re: [zeromq-dev] How to build CZMQ in Windows?

2016-03-09 Thread Osiris Pedroso
those two functions unless it's using an old version > of CZMQ. > > On Wed, Mar 9, 2016 at 10:41 PM, Osiris Pedroso > wrote: > > Using Johan instructions above, I got the code in ZIP form. > > > > I see that these functions exist in the CZMQ source, but Zyre comp

Re: [zeromq-dev] How to build CZMQ in Windows?

2016-03-10 Thread Osiris Pedroso
> > On Thu, Mar 10, 2016 at 12:33 AM, Osiris Pedroso > wrote: > > From Johan email above: > > CZMQ: > > - download czmq 3.0.2 (latest stable release, which will be used in our > > project): https://github.com/zeromq/czmq/archive/v3.0.2.zip > > - unpack and r

[zeromq-dev] Adding a last-good tag to commits

2016-03-11 Thread Osiris Pedroso
I had the idea to somehow mark a commit as the last known good build for each targets which we have Travis-CI enabled. Basically the Travis-Ci script would mark the repository only if the build completed with no errors. Same idea could be used to mark the last commit for which all automated tests

Re: [zeromq-dev] Thread safe Pub/Sub and Multicast

2016-03-12 Thread Osiris Pedroso
You say this: - [Radio/Dish are] Thread safe, you can send and receive messages from multiple threads, so for publisher you now don't need internal device to publish from multiple threads and with subscriber you can use it as load balancer. So by extension, it means that a Radio/Dish

[zeromq-dev] NetMQ and Jetbrains

2016-03-15 Thread Osiris Pedroso
If I decide to use NetMQ in my commercial project, am I required to get a JetBrains license? Why is JetBrains delivered as part of NetMQ? Thanks Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zero

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-15 Thread Osiris Pedroso
I have some 20+ years of Windows development under my belt... still a newbie to the zeromq project and to open source volunteering in general though, so take my comments with a grain of salt. I have been fighting the same battle the last month or so. In the process I have updated some of the docu

[zeromq-dev] zgossip_test_method crash on exit in Windows

2016-03-15 Thread Osiris Pedroso
I am running the zgossip_test_method which can be found at the end of this page: http://api.zeromq.org/czmq3-0:zgossip The test runs without any problems then asserts on exit. The code where it fails in terminate(): // First attempt to terminate the context. if (!restarted) {

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-15 Thread Osiris Pedroso
lems that you can bring forward > are welcome, if you can deliver the solution as well even better :) > > Thanks! > > //Kevin > >> On Di, Mär 15, 2016 at 11:53 , Osiris Pedroso wrote: >> I have some 20+ years of Windows development under my belt... still a newbie

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-19 Thread Osiris Pedroso
import.props and appveyor.yml > and open PRs even though it's generated. I will then make sure the changes > get applied to zproject. In terms of breaking stuff don't be afraid git and > github make it very easy to revert commits if necessary. > > //Kevin > > 201

[zeromq-dev] Where is source file for libczmq.vcxproj?

2016-03-20 Thread Osiris Pedroso
The file *builds/msvc/vs2013/libczmq/libczmq.vcxproj* says it is generated by ZPROJECT. The RELEASE targets for 32 and 64 bit dlls do not currently generate PDBs, which prevent easy debugging in Windows in release mode. The change is simple, adding these lines to libczmq/libczmq.vcxproj:

Re: [zeromq-dev] Where is source file for libczmq.vcxproj?

2016-03-20 Thread Osiris Pedroso
svc\vs2013\libzmq.import.props file? On Sun, Mar 20, 2016 at 8:19 AM Osiris Pedroso wrote: > The file *builds/msvc/vs2013/libczmq/libczmq.vcxproj* says it is > generated by ZPROJECT. > > The RELEASE targets for 32 and 64 bit dlls do not currently generate PDBs, > which prevent easy debugging i

Re: [zeromq-dev] Empty message does not close ZMQ_STREAM socket?

2016-03-22 Thread Osiris Pedroso
If I am completely off here, please let me know (still learning ZMQ): server.send(id, ZMQ_SNDMORE); server.send(empty, ZMQ_SNDMORE ); But I don't think you should have the ZMQ_SENDMORE flag on the second send() call. Otherwise the message will not be sent, instead waiting for another cal

Re: [zeromq-dev] Where is source file for libczmq.vcxproj?

2016-03-22 Thread Osiris Pedroso
Ok, I modified the gsl file and then I did this: ~/git/zproject$ gsl zproject_vs20xx_props.gsl When I execute git status now though, it does not show any of the “.props” file as modified/created. opedroso@OPLIN:~/git/zproject$ git status On branch master Your branch is up-to-date with ‘origin/

[zeromq-dev] How to specify stable when using GSL

2016-03-25 Thread Osiris Pedroso
I have made some changes to zproject (Windows building scripts) and regenerated zeromq/malamute project with those changes using these steps: #!/usr/bin/env bash set -x ( cd ~/git/zproject && ./autogen.sh && ./configure && make && sudo make install ) || exit 1 #git clone --depth 1 https://githu

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-25 Thread Osiris Pedroso
to be pushed to stable state. Use --enable-drafts to enable. +// This API is a draft, and may change without notice. #ifdef MLM_BUILD_DRAFT_API #define MLM_PROTO_SUCCESS 200 // #define MLM_PROTO_FAILED 300// On Fri, Mar 25, 2016 at 10:36 AM Osiris Pedroso wrote: I

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-27 Thread Osiris Pedroso
s according to what happens > at configure time. > > -Pieter > >> On Fri, Mar 25, 2016 at 4:46 PM, Osiris Pedroso wrote: >> In case you prefer this format: >> >> G:\malamute>git diff include\mlm_proto.h >> diff --git a/include/mlm_proto.h b/includ

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-30 Thread Osiris Pedroso
configure and/or build time. I guess we could add an option > to force this, at generation time. > > In zproject if you haven't marked any part of the API as stable, then > it's all built. Does this not cover what you need? > > > On Sun, Mar 27, 2016 at 1:28 PM, Osiri

[zeromq-dev] ZPROJECT help is on the way

2016-04-01 Thread Osiris Pedroso
Hello fellow ZMQers, If you have been hit a few times like me with making a change to a file generated by zproject before you knew that files were generated by zproject, I have just checked in a new tool for you. https://github.com/zeromq/zproject/pull/584 This checkin has added zproject/tstgenb

Re: [zeromq-dev] NodeJS binding for CZMQ

2016-04-05 Thread Osiris Pedroso
Hi Pieter, Sorry for the late feedback, but one thing I noticed is that the files you are generating through zproject for the NodeJS binding are missing the generated by zproject headers to them. On Mon, Apr 4, 2016 at 5:36 AM Pieter Hintjens wrote: > Hi all, > > I've been working on a NodeJS b

Re: [zeromq-dev] malamute CMake & eclipse

2016-04-06 Thread Osiris Pedroso
Here is the process to find out which file creates any generated file: 1. get the name of file you are interested 2. clone zeromq/zproject 3. search for the filename you are interested in *.gsl: O:\git\zproject>findstr /c:CMakeLists.txt *.gslzproject_cmake.gsl:.output "CMakeLists.txt"zpr

Re: [zeromq-dev] malamute CMake & eclipse

2016-04-06 Thread Osiris Pedroso
that malamute > development team needs? If it is only for me, I can stick with the existing > solution. ;-) > > How is zproject related to malamut project? > > Best regards > > > Matjaž > > > On 6.4.2016 14:55, Osiris Pedroso wrote: > > Here is the pr

Re: [zeromq-dev] Test failing on OS X 10.9.4

2016-04-06 Thread Osiris Pedroso
Lucky you, Ubuntu 14.04 results: Testsuite summary for zeromq 4.2.0 # TOTAL: 78 # PASS: 74 # SKIP: 0 # XFAIL: 0 # FAIL: 4 # XPASS: 0 # ERROR

Re: [zeromq-dev] Test failing on OS X 10.9.4

2016-04-06 Thread Osiris Pedroso
uching them. > > Best regards > > > Matjaž > > > On 6.4.2016 19:45, Osiris Pedroso wrote: > > Lucky you, > > Ubuntu 14.04 results: > > > ===

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-08 Thread Osiris Pedroso
I would second this request, since it would increase my understanding of the process of the generating code using ZPROJECT and GSL. On Fri, Apr 8, 2016 at 2:43 PM Matjaž Ostroveršnik < matjaz.ostrovers...@gmail.com> wrote: > Dear all, > > I managed to locally extend the mlm server with: > - abili

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-09 Thread Osiris Pedroso
Matjaz, checkout the zproject/tstgenbld.sh script. It does the generation, build and make test for a list of projects (czmq, malamute, zyre). I think it would be simple to add some cmake targets to regen the sources if zproject and gsl projects are on disk. As long as we don't wire to do it au

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-10 Thread Osiris Pedroso
e? > I'd like to go full circle, before I apply the curve patch. > > Thanks in advance > > Matjaž > > On 10.4.2016 3:03, Osiris Pedroso wrote: > > Matjaz, checkout the zproject/tstgenbld.sh script. > > > > It does the generation, build and make test for a

Re: [zeromq-dev] build problem after mlm_client.xml change

2016-04-14 Thread Osiris Pedroso
Hi Matjaz, Can you provide a repository with the modified file checked in? I would like to try it as well. Thanks, Osiris On Thu, Apr 14, 2016 at 9:12 AM Matjaž Ostroveršnik < matjaz.ostrovers...@gmail.com> wrote: > Hi, > > I tried to add a new method to the mlm_client.xml and then regenerate

Re: [zeromq-dev] Role of iMatix in ZeroMQ community

2016-04-18 Thread Osiris Pedroso
I like the idea of a 0MQ foundation. Maybe turn ownership to all the contributors to zeromq and have an executive committee that deals with day to day affairs. On Mon, Apr 18, 2016 at 2:56 PM Michel Pelletier wrote: > This is terrible news Pieter, there's no easy way to say that I hope you > are

[zeromq-dev] How to build a stable (non DRAFT_API) version of malamute?

2016-04-19 Thread Osiris Pedroso
My environment is Windows. I need to know how to build the MALAMUTE library/dll without DRAFT_API being defined. Same question applies to CZMQ, since MALAMUTE includes CZMQ as well. Is it just a matter of hand editing platform.h and commenting #define MLM_BUILD_DRAFT_API? Thanks, Osiris ___

Re: [zeromq-dev] How to build a stable (non DRAFT_API) version of malamute?

2016-04-19 Thread Osiris Pedroso
. configure.bat --help should give > you more infos. I haven't used it though. There also a section "Build on > Windows" in the czmq README which should apply to malamute as well. > > //Kevin > > 2016-04-19 14:32 GMT+02:00 Osiris Pedroso : > >> My environm

Re: [zeromq-dev] iMatix copyrights in ZeroMQ code base

2016-04-22 Thread Osiris Pedroso
LOL! Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Apr 22, 2016, at 11:51, Pieter Hintjens wrote: > > Yes, it comes from a well known account and a judge in court looking > at this would accept it as plausible enough to sustain. In case of > doubt, I hereby sign it: >

[zeromq-dev] Building CZMQ with disable-drafts

2016-04-22 Thread Osiris Pedroso
How can I build CZMQ with disable-drafts in Ubuntu? In Windows, I run czmq/builds/msvc/configure.bat --disable-drafts to accomplish that. Thanks ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Building CZMQ with disable-drafts

2016-04-22 Thread Osiris Pedroso
. Compilation works fine in Linux for both draft APIs or not. On Fri, Apr 22, 2016 at 3:44 PM Osiris Pedroso wrote: > How can I build CZMQ with disable-drafts in Ubuntu? > > In Windows, I run czmq/builds/msvc/configure.bat --disable-drafts to > accomplish that

Re: [zeromq-dev] CZMQ "stable" release versioning

2016-04-25 Thread Osiris Pedroso
Pieter, What is the process of marking an individual method as draft? What should one do to have that effect? Thanks, Osiris Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Apr 25, 2016, at 04:51, Pieter Hintjens wrote: > > Yes, retiring the deprecated APIs and bumping

Re: [zeromq-dev] CZMQ "stable" release versioning

2016-04-25 Thread Osiris Pedroso
f23b7626c280f7e743a95/api/zframe.api#L107 > > 2016-04-25 11:57 GMT+02:00 Osiris Pedroso : > >> Pieter, >> >> What is the process of marking an individual method as draft? >> What should one do to have that effect? >> >> Thanks, >> Osiris >> >> Sen

[zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
Up till now, I thought that the following command was what regenerated the code for CZMQ project (or any other project using GSL code generation for that matter): ``` root@OPLIN:~/git/czmq# gsl project.xml ``` But I came across the contents of CZMQ's Makemodule.am, which has this rule in it (simil

Re: [zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
models. > > Q3: > No, changes are applied gradually downstream there is no pressure to do it > right away. If there was a critical bug a mail to the mailing might be > appropriate though. > > > 2016-04-25 14:47 GMT+02:00 Osiris Pedroso : > >> Up till now, I thought t

Re: [zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
Got it. Thanks! On Mon, Apr 25, 2016 at 9:58 AM Kevin Sapper wrote: > Both options have equal meaning. > > "-target:-" is used as input for zproject > > and > > "-topdir:.. -zproject:1" is equally used as input for one of zproto's > scrip

[zeromq-dev] Malamute selftest crashes on exit in Windows

2016-04-26 Thread Osiris Pedroso
Got latest zeromq (as of yesterday), built all in Windows using Dev2013. https://github.com/zeromq/malamute/issues/169 Seems to only happen in those versions that use the LIBZMQ dll, not if linked statically. ___ zeromq-dev mailing list zeromq-dev@lists

Re: [zeromq-dev] Malamute selftest crashes on exit in Windows

2016-04-27 Thread Osiris Pedroso
omewhere instead of a zstr_free(). > > On Tue, Apr 26, 2016 at 10:17 PM, Osiris Pedroso > wrote: > > Got latest zeromq (as of yesterday), built all in Windows using Dev2013. > > > > https://github.com/zeromq/malamute/issues/169 > > > > Seems to only happen in

[zeromq-dev] Behavior question for Malamute self_test

2016-04-29 Thread Osiris Pedroso
I noticed that if I set a breakpoint in the line below marked "BP>", and do single step execution of the asserts and zstr_free statements, the next receive will fail and the test does not proceed beyond that point. In malamute\src\mlm_client.c, mlm_client_test() has these code lines: ``` mlm_c

[zeromq-dev] Malamute Users - Service Requests API

2016-05-02 Thread Osiris Pedroso
Hi, I am new to Malamute and wanted to exchange words with some other user of the Service Requests API in Malamute. Malamute being a message broker, I expected to find some sort of timeout and/or retry logic for in-flight service requests, but from the API I don't think those exist. I wonder how

Re: [zeromq-dev] Malamute Users - Service Requests API

2016-05-03 Thread Osiris Pedroso
, > > By timeout you mean that client expects an answer for service request in $foo > seconds? > > Dne 2. 5. 2016 1:15 PM napsal uživatel "Osiris Pedroso" : >> Hi, >> >> I am new to Malamute and wanted to exchange words with some other user of >

Re: [zeromq-dev] Malamute Users - Service Requests API

2016-05-04 Thread Osiris Pedroso
tandard message broker behavior, I tought. >> >> Sent from my iPad. Regularly foiled by autocorrect. But duck it.. >> >> On May 3, 2016, at 12:11, Michal Vyskocil >> wrote: >> >> Hi, >> >> By timeout you mean that client expects an answer for service

[zeromq-dev] Malamute Stream API users

2016-05-04 Thread Osiris Pedroso
Just to clarify, in the Malamute selftest, there is this code: ``` mlm_client_set_producer (writer1, "weather"); mlm_client_set_producer (writer2, "traffic"); mlm_client_set_consumer (reader1, "weather", "newyork"); mlm_client_set_consumer (reader1, "traffic", "newyork"); mlm_cl

Re: [zeromq-dev] Can ZeroMQ be considered 'light-weight'?

2016-05-04 Thread Osiris Pedroso
I use ZeroMQ in Windows environment. This past week I ran Memory Validator on zeromq and I was surprised with a hot spot of memory allocation. MV show that there is a 1Mb allocation happening over and over for every message read. This was done to fix https://github.com/zeromq/libzmq/issues/1608.

Re: [zeromq-dev] ZMQ_STREAM and incoming message size limit over TCP

2016-05-04 Thread Osiris Pedroso
IMO, it seems worth having this option when the OS takes advantage of it. On Wed, May 4, 2016 at 9:25 AM Doron Somech wrote: > But more important when implementing a stream engine you cannot rely on > receiving the entire message, this is important, if you send block of 20K > the receiving side

Re: [zeromq-dev] New version of C4 (C4.2?)

2016-05-05 Thread Osiris Pedroso
If you are reviewing RFC 42 and it is policy to not accept contributions in certain file format, I believe it is time to put those in the RFC, so it is clear to contributors what is not allowed. Pieter, you yourself was quoted in an article as having impressed a person when he suggested you should

Re: [zeromq-dev] New version of C4 (C4.2?)

2016-05-05 Thread Osiris Pedroso
atible with source > control. > > -Pieter > > > On Thu, May 5, 2016 at 2:40 PM, Osiris Pedroso wrote: > > If you are reviewing RFC 42 and it is policy to not accept contributions > in > > certain file format, I believe it is time to put those in the RFC, so it > i

[zeromq-dev] Adding new tests to Malamute

2016-05-05 Thread Osiris Pedroso
I am in the process of adding a few new tests to malamute self tests, learning its API in the process. They will target specific portions of the APIs: 1. mlm_stream_api_test (single broadcaster, single listener) 2. mlm_service_api_test (single requester, single service provider)

[zeromq-dev] Malamute timeout argument

2016-05-06 Thread Osiris Pedroso
These APIs have a timeout argument. int mlm_client_sendto (mlm_client_t *self, const char *address, const char *subject, const char *tracker, uint32_t timeout, zmsg_t **content_p); int mlm_client_sendfor (mlm_client_t *self, const char *address, const char *subject, const char *tracker, uint32_t

Re: [zeromq-dev] Adding new tests to Malamute

2016-05-06 Thread Osiris Pedroso
& follow coding style on all patches, space before '(' >> and noNamesLikeThis. >> >> Cheers :) >> Pieter >> >> On Thu, May 5, 2016 at 5:25 PM, Osiris Pedroso >> wrote: >> > I am in the process of adding a few new tests to malamute self te

Re: [zeromq-dev] ZeroMQ Reliable Multicast just halts and never continues

2016-06-15 Thread Osiris Pedroso
Have you used Wireshark to see if that traffic is actually making to the client box when your application stops receiving it? That would prove if problem resides in your application or the network itself. On Wed, Jun 15, 2016 at 9:23 AM Paul Krauss wrote: > Hi Folks – I am using 0MQ and CLRZMQ

Re: [zeromq-dev] Bye bye Pieter

2016-10-04 Thread Osiris Pedroso
RIP Pieter. On Tue, Oct 4, 2016 at 10:13 AM YANG Fan wrote: > RIP Pieter > > On Tue, Oct 4, 2016 at 10:35 PM Godefroid Chapelle > wrote: > > On 04/10/16 16:29, Benjamin Henrion wrote: > > Dear Pieter, > > > > I wanted to say a last goodbye at noon at the hospital, but you told > > me to come at

Re: [zeromq-dev] Bye bye Pieter

2016-10-04 Thread Osiris Pedroso
Does anybody know Pieter's birth date? I would like to set myself a reminder to commemorate his life accomplishments on that date every year going forward... Thanks On Tue, Oct 4, 2016 at 11:11 AM Jacques Richer wrote: > I found him a kind and very special man. He will be missed. > > > On Octob

Re: [zeromq-dev] Question about context and/or socket creation

2016-10-04 Thread Osiris Pedroso
I tried to compile, but I don't have the zmq.hpp file it includes. What github project to I need to get it? On Tue, Oct 4, 2016 at 11:36 AM James Chapman wrote: > I suspect there is a bug within ZMQ, that or I'm doing something stupid. > Actually, the latter is probably more likely as I'd like t

Re: [zeromq-dev] BDFL literally

2016-10-05 Thread Osiris Pedroso
Could you please list them? I would like to sponsor a few, but would like to check them out first. Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Oct 5, 2016, at 17:49, Ewen McNeill wrote: > >> On 20/04/16 6:16, Pieter Hintjens wrote: >> So without further ado I'd like t

Re: [zeromq-dev] ZeroMQ Architectural Patterns & Quality Attributes for Research

2016-10-18 Thread Osiris Pedroso
Hi Michael, You should read the following document (it is a book really) that will have answers to most of your questions above. http://zguide.zeromq.org/page:all After you invest that time, then it would make sense to ask pointed/specific questions for items that were not clear from the link abo

Re: [zeromq-dev] malloc() memory corruption at zsock_new_req

2016-11-17 Thread Osiris Pedroso
You are most likely corrupting the heap a couple of lines back in this code: char *endpoint = (char*) malloc(sizeof(30)); sprintf(endpoint, "tcp://%s:%d", c_address, port); The sprintf() function returns how many characters it wrote tot the buffer. Make sure it is returning less than 29 ot

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-11-23 Thread Osiris Pedroso
I know how to generate minidumps in Windows and create a small (~20Kb) file that would have a snapshot of the stack and lots of other goodies. To access it, one opens the generated .DMP file with "WinDBG.exe -k minidump.dmp", enter the command ".ecxr" then "kvn" to see stack at the failure point in

Re: [zeromq-dev] ZMQ 4.2.0 stack overflow on Windows

2016-11-30 Thread Osiris Pedroso
You can enable Stop on All Exceptions on Dev2012 and run your process. As soon as an exception happens, it will stop on that instructions and you will be able to see the stack and environment variables for all frames, which may help you find out what is wrong. If you install the WinDBG debugger ("

[zeromq-dev] Happy Pieter Hintjens Day

2016-12-03 Thread Osiris Pedroso
Today is the birthday of Pieter Hintjens (3 December 1962 – 4 October 2016). After Pieter's death earlier this year I decided I will commemorate his birthday every year going forward, keeping his memory alive. I just started reading today his unfinis

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
m/pflichtangaben<http://de.cgi.com/pflichtangaben>. > > > > CONFIDENTIALITY NOTICE: Proprietary/Confidential information belonging > to CGI Group Inc. and its affiliates may be contained in this message. If > you are not a recipient indicated or intended in this message

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
Quick stack at zdump.h included On Sat, Dec 3, 2016 at 7:04 PM Osiris Pedroso wrote: > I thought some more about this and I think I would like to implement this > functionality as an actor named zdump. > > Implementing it as an actor would allow any programs that use CZMQ actors

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
I meant quick stab at zdump.h... On Sat, Dec 3, 2016 at 7:18 PM Osiris Pedroso wrote: > Quick stack at zdump.h included > > > On Sat, Dec 3, 2016 at 7:04 PM Osiris Pedroso wrote: > > I thought some more about this and I think I would like to implement this > functional

Re: [zeromq-dev] How to get transactions from bitcoind?

2017-01-16 Thread Osiris Pedroso
Hi Andy, 1) Wild guess here for the first one. Instead of std::vector msg_parts; try std::vector msg_parts; This will work if the encoding of the message being received is UNICODE as opposed to ASCII encoding. 2) The zmq_getsockopt API indicates ZMQ_RCVM

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
Doron, What is needed next on it? I see that there is a Dealer type socket only implemented. Implement other socket types? What would actually be the ultimate goal/API surface for a ZMTP compatible library for UWP in C#? Is it implementing the ZMTP protocol

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
no > > > On Thu, Feb 23, 2017 at 3:49 PM, Osiris Pedroso > wrote: > > Doron, > > What is needed next on it? > I see that there is a Dealer type socket only implemented. Implement other > socket types? > > What would actually be the ultimate goal/API surface for a

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
TP 3.0. This mechanism utilizes the Generic Security Service Application Interface, which provides security services to callers in a generic fashion. On Thu, Feb 23, 2017 at 9:09 AM Osiris Pedroso wrote: > Under the subtitle "The Socket-Type Property" in the protocol > <ht

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
47 PM, Osiris Pedroso wrote: Oops, just realized that are seven ZMTP protocol versions: stable: 23 (24 and 25) draft: 37 (and 38) deprecated: 13 and 15 Doron, I like the incremental approach and the two first tasks. I will start working on them and post questions if I get stuck. But should we n

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-26 Thread Osiris Pedroso
king to each other using todays ZMTP.NET implementation in C# for me to get further. Appreciate your guidance, Osiris On Thu, Feb 23, 2017 at 10:17 AM Osiris Pedroso wrote: Ok, I will do my research and start adding a socket type. Then make it a nugget. On Thu, Feb 23, 2017 at 10:01 AM Doron So

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-27 Thread Osiris Pedroso
Osiris Pedroso wrote: > Hi Doron, > > Update: > >1. I read the ZTMP specs and understood what I have to do on a message >by message. > >2. I rebuilt my machine by installing Windows 10 Anniversary edition >and enabling the Linux subsystem on it ( >ht

[zeromq-dev] NetMQ behavior question

2017-10-04 Thread Osiris Pedroso
I got one of this example from http://netmq.readthedocs.io/en/latest/transports/#tcp ''' using (var end1 = new PairSocket()) using (var end2 = new PairSocket()) { end1.Bind("inproc://inproc-demo"); end2.Connect("inproc://inproc-demo"); var end1Task = Task.Run(() => { Consol

[zeromq-dev] NetMQ unexpected early exit

2017-10-07 Thread Osiris Pedroso
Can anybody comment on this issue: https://github.com/opedroso/NetMQSamples/issues/1 Thanks, Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Is the Zyre protocol avaiable in .NET?

2017-11-09 Thread Osiris Pedroso
I wonder if there is an implementation of the Zyre protocol that can be used in .NET. Are any of you aware of such an implementation? Thanks, Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq

  1   2   >