Re: [zeromq-dev] zeromq-dev Digest, Vol 93, Issue 6

2015-09-06 Thread Riskybiz
KIU Shueng Chuan, Very may thanks; truly you're a genius. Riskybiz. Message: 7 Date: Sun, 6 Sep 2015 08:16:12 +0800 From: KIU Shueng Chuan Subject: Re: [zeromq-dev] 64bit error setting socket linger value. To: ZeroMQ development list Message-ID: Content-Type: text/

[zeromq-dev] 64bit error setting socket linger value.

2015-09-05 Thread Riskybiz
= "Socket: LINGER VALUE SET: " + name + " "; TextOutput(errConc);; } Anyone know what's wrong here? Incidentally, the same code does not give an erro

[zeromq-dev] zmq_poll question.

2015-03-11 Thread Riskybiz
nimise the possibility that my code could cause messages to get dropped by considering the implications of acting to send & receive only on satisfactory poll events? Any elaboration on these subjects is much appreciated. With thanks

[zeromq-dev] ROUTER-DEALER zmq_proxy Question.

2015-03-04 Thread Riskybiz
t? i.e. Both inbound and outbound queues would conceptually be built into a single ROUTER-DEALER zmq_proxy? With thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] CZMQ selftest build fails.

2015-01-07 Thread Riskybiz
xe : fatal error LNK1120: 1 unresolved externals == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped == Does anyone please know how to fix this? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] zeromq4-1 build errors using Visual Studio solution.

2014-12-16 Thread Riskybiz
t errors, such as listed below. Does anyone please know how to fix this? Thanks, Riskybiz. 1>-- Build started: Project: libzmq, Configuration: ReleaseLIB Win32 -- 1> ConfigurationType : StaticLibrary 1> Configuration : ReleaseLIB 1> PlatformToolset : v120 1

[zeromq-dev] Implementing zeromq security

2014-12-15 Thread Riskybiz
.x.x\lib folder in the zeromq structure; it's where I'd normally find libzmq.lib to link with my application projects. In this case C:\zeromq-x.x.x\lib is absent. Does something need to be changed in the Visual Studio solution/project settings? Anyone know what it is? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Implementing zeromq security

2014-12-15 Thread Riskybiz
c\properties\Debug.props <--- is absent. Now what's wrong?? Many thanks for help so far Phillip; and apologies for causing a nuisance with this! Truly, it shouldn't be this difficult! Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Implementing zeromq security

2014-12-14 Thread Riskybiz
cg folders to link against in the libsodium structure. I've tried various options which seem sensible but am really just pressing the buttons without understanding the implications of the differences! Anyone have any further suggestions? Thanks, Riskybiz. P.S. I've also co

[zeromq-dev] Implementing zeromq security

2014-12-13 Thread Riskybiz
both build OK but still the curve security is not supported. Can anyone please suggest what I should do to get the curve security built-in with zeromq? Also how do I run the self-tests to verify the installation is sound? Thanks, Riskybiz.

[zeromq-dev] Implementing zeromq security

2014-12-12 Thread Riskybiz
? One other thing; is there any api documentation for zmq_threadstart & zmq_threadclose? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Implementing zeromq security.

2014-12-10 Thread Riskybiz
ions enabled? Any assistance to get started is much appreciated, Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] zmqpp

2014-11-09 Thread Riskybiz
overload different only by the return value and that is forbidden in C++ I'd like to try using it; would it be too much to ask for a few instructions on what to do in order to get started and build zmqpp on Windows with Visual Studio 2013? Thanks again, Riskybiz. ___

[zeromq-dev] ROUTER & identity value.

2014-11-08 Thread Riskybiz
the MultiPartMessage in a queue and later send it back to the originating DEALER; but I cannot visualise the identity value in the console! Does anyone know why this should be? Perplexed. Riskybiz. ___ zeromq-dev mailing list zeromq

[zeromq-dev] Poll Reactor Issue.

2014-11-04 Thread Riskybiz
q source code as to the likely problem? It could be my application code! But equally have I encountered some issue not of my making? Thanks, Riskybiz. P.S. Also built against zeromq-3.2.3 and found the same behaviour. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] CZMQ Build on Windows.

2014-10-10 Thread Riskybiz
files worked well except for this from the file: libzmq.import.props THIS LINE COULD NOT FIND libzmq.dll SourceFiles="C:\zeromq-4.0.4\bin\Win32\libzmq.dll" SO I USED THIS INSTEAD; WHICH WORKED DestinationFiles="$(TargetDir)libzmq.dll"

[zeromq-dev] biicode & zeromq

2014-09-27 Thread Riskybiz
ies on an older version of zeromq? 9. I'm intruiged by your revenue sharing plan. Are you able to explain who pays whom and for what product or service? 10. Can someone, not a figurehead (joke! You'd have to know the story!) but someone esteemed, in the zeromq community plea

[zeromq-dev] DEALER-ROUTER question

2014-09-25 Thread Riskybiz
rustrations. I hope you will view my feedback as constructive. All that said; which part of the guide should I read to solve my DEALER-ROUTER issue, can I be confident that any associated zguide example will actually work and help me to further understand how to solve my own zeromq issues in th

[zeromq-dev] DEALER-ROUTER question.

2014-09-25 Thread Riskybiz
at a given moment but also to promptly receive? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-19 Thread Riskybiz
Damzt Riskybiz. Date: Fri, 19 Sep 2014 07:50:18 +0800 From: KIU Shueng Chuan Subject: Re: [zeromq-dev] Trouble sending from ROUTER to DEALER To: ZeroMQ development list Message-ID: Content-Type: text/plain; charset="iso-8859-1" zmq_msg_init_size(&messageOut, size

[zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-18 Thread Riskybiz
47/manipulating-blobs-in-c> that a std::vector can be used to receive a blob of data. Anyone know how to get the message payload out of the z_msg_t object into a std::vector and then copied back into a different z_msg_t object. Thanks, Riskybiz. P.S. Necessity dictates that I u

[zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-17 Thread Riskybiz
entities are of any specific size. Stuck. Riskybiz. Date: Tue, 16 Sep 2014 22:45:52 +0800 From: KIU Shueng Chuan Subject: Re: [zeromq-dev] Trouble sending from ROUTER to DEALER To: ZeroMQ development list Message-ID: Content-Type: text/plain; charset="iso-8859-1"

Re: [zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-16 Thread Riskybiz
so long as the identity of the destination was the first frame? Also that the 'blank' frame was necessary for certain socket types only e.g. REQ-REP? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-15 Thread Riskybiz
You may want to check whether the received identity frame is only 32-bits in length. On 15 Sep 2014 02:30, "Riskybiz" wrote: > Dear zeromq developers, > > > > I've created a couple of simple Windows C++ console programs > zmqDealerClient <http:

[zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-14 Thread Riskybiz
ses the default situation where the ROUTER socket sets the identities internally. I expected each instance to have a unique identity. Anyone know why this is not the case? With thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.or

[zeromq-dev] Router socket and connection identities?

2014-09-12 Thread Riskybiz
please know of a simple console example of a ROUTER-DEALER arrangement which I may study and which will work on Windows using zeromq-4.0.4? With thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org

Re: [zeromq-dev] Paranoid Pirate

2014-08-26 Thread Riskybiz
to s_set_id ()? But it begs the question; how should the uuid identifiers be properly handled and passed around in code? Surely Paranoid Pirate pattern must have worked with uuids at some point in time otherwise how would it have passed muster for the zeromq guide? Confused. Riskybiz. Message

[zeromq-dev] Paranoid Pirate

2014-08-25 Thread Riskybiz
igher. Also added are some console print statements to trace what is actually going on. In order to correct very long waiting times I have modified the delay periods built in to the pattern from those provided by the stock example in the zeromq guide. Hope someone

[zeromq-dev] Zeromq Paranoid Pirate & Majordomo examples.

2014-08-23 Thread Riskybiz
build. It's doubly difficult because I want to learn from the examples but debugging them at the same time is testing to say the least. Is anyone able to help get these examples working with the latest versions of zeromq on Windows, not just for my sake but also for the next person who

Re: [zeromq-dev] CZMQ Build error.

2014-07-23 Thread Riskybiz
ow if your experience will be different, but when building on CZMQ on Windows 7 it was necessary for me to solve several build errors by adding additional include directories and linking instructions to the CZMQ Visual Studio project. Riskybiz. -- next part -- An HTML

Re: [zeromq-dev] CZMQ self test fail.

2014-07-20 Thread Riskybiz
https://github.com/zeromq/libcurve did. Riskybiz. -Original Message- From: zeromq-dev-boun...@lists.zeromq.org [mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of zeromq-dev-requ...@lists.zeromq.org Sent: 20 July 2014 11:00 To: zeromq-dev@lists.zeromq.org Subject: zeromq-dev Digest, Vol

[zeromq-dev] How to build czmq.h?

2014-07-10 Thread Riskybiz
x27;s clear that something isn't right here.. Anyone know what options should be specified to get around these issues? I have the following zeromq software versions located as follows: C:\czmq-2.2.0 C:\zeromq-3.2.3 C:\zeromq-4.0.4

[zeromq-dev] Trouble getting Paranoid Pirate and Majordomo patterns to function.

2014-07-08 Thread Riskybiz
more information regarding the environments I've tried at http://stackoverflow.com/questions/24597251/zeromq-issues-with-example-netwo rking-patterns-paranoid-pirate-and-majordomo?noredirect=1#comment38140118_24 597251 Does anyone know what could be wrong or how to fix it? With thanks,

[zeromq-dev] Zeromq on virtualised linux instance.

2014-07-03 Thread Riskybiz
o establish zeromq communications between a program running on the host operating system (e.g. Windows 7) and a program running on the virtualised Debian machine? I'll test this once I can get an address for the communications! Thanks, Riskybiz. _

[zeromq-dev] Paranoid Pirate Troubles

2014-07-01 Thread Riskybiz
t the UUIDs are decoded and encoded respectively. Could this be the source of the trouble I’m experiencing in trying to build the example. What would need to be changed to correct the program to use short integers as identities? With thanks, Ris

Re: [zeromq-dev] Paranoid Pirate Troubles

2014-06-27 Thread Riskybiz
I do have a Firewall running. I am able to run the Lazy Pirate Server and Lazy Pirate Client on the same computer and it functions as expected without the firewall getting in the way. Though I don't know how to test the connection with telnet. Riskybiz. Message: 12 Date: Thu, 26 Jun 2014

[zeromq-dev] Paranoid Pirate Troubles

2014-06-26 Thread Riskybiz
++ requires, and also a few necessities to get the code to compile. After toying around with it for quite a while I thought I’d ask: Anyone know how or managed to get this working?? Care to share? Thanks, Riskybiz. ppqueue: N.B. the random symbols generated where the worker identity should be

Re: [zeromq-dev] REQ to many REP.

2014-06-24 Thread Riskybiz
his. Anyone have any suggestions on 0MQ patterns to implement this, perhaps a variation of what I propose or something altogether better? Thanks, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] REQ to many REP.

2014-06-23 Thread Riskybiz
a command/control layer which will coordinate a PUSH-PULL socket pair. There will be a run-time flexible number of PUSH sockets but always just one PULL socket. Is anyone able to offer any guidance to clear my muddy thoughts on how to make this work? Am coding in C++.

[zeromq-dev] How to send/receive a custom C++ object via zeromq.

2013-09-28 Thread Riskybiz
nt program. The client makes a serialised request and the server sends a serialized message in reply. Thanks for help and guidance in getting this to work. Riskybiz. //Server //Intended to send a serialized object instance to a client #include #include #include #include

[zeromq-dev] How to send/receive a custom C++ object via zeromq?

2013-09-27 Thread Riskybiz
ve 10 0 0 1 12 Test Message When this is received at the client end it is a jumbled mess of random characters. Does anyone know what I'm not doing correctly here? Thanks, Riskybiz. //Server //Intended to send a serialized object instance to a client #include #include

[zeromq-dev] How to send/receive a custom C++ object via zeromq

2013-09-25 Thread Riskybiz
e the object to a file. I need to further understand how to serialize/deserialize an object and get it onto, across, and off the wire with zeromq. Might this involve serializing to a memory buffer? Hoped someone might be able to help with a HelloWorld demonstration of this? With thanks, Ris

[zeromq-dev] How to send/receive a custom C++ object via zeromq sockets?

2013-09-17 Thread Riskybiz
ly. Is anyone able to provide a simple example of how to accomplish serialising and deserialising a custom object and sending it though a REQ-REP socket pair? Or does anyone know of a good online tutorial on this subject? I'm working with Visual Studio 2012 Express in C++.

[zeromq-dev] Access ZeroMQ Error Messages in C++?

2013-07-28 Thread Riskybiz
st:"); is just not valid because; client.connect("tcp://localhost:"); returns type 'void'. Can anyone provide a quick C++ example of how to accomplish this? Thanks, Riskybiz. ___ zeromq-dev mailing list zer

[zeromq-dev] FW: ZeroMQ Error when client starts first, server second. SOLVED.

2013-07-28 Thread Riskybiz
t ZMQ_SNDMORE flag. Your suggestion of only reading the end() iterator once for each message composition loop would also give a very tidy result I think. Thanks again, Riskybiz. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] ZeroMQ Cleaning up?

2013-07-19 Thread Riskybiz
uctions to create and terminate the ZeroMQ sockets & communications in this code? Any suggestions for a way around this problem? With thanks, Riskybiz. static bool createCalled = false;//initialise static variable static bool destroyCalled = false;//initialise static variable stati

Re: [zeromq-dev] Errors creating a DLL including ZeroMQ

2013-07-18 Thread Riskybiz
: #define _WINSOCK2API_ //stops windows.h including winsock2.h And bingo, success, the DLL file built without errors and I was able to demonstrate ZeroMQ client-server communications. Many thanks & all the best, Riskybiz. -Original Message- From: zeromq-dev-boun...@lists.zeromq

Re: [zeromq-dev] Errors creating a DLL including ZeroMQ

2013-07-17 Thread Riskybiz
->AdditionalDependencies-> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\WS2_32.lib C:\zeromq-3.2.3\lib\Win32\libzmq.lib Still getting a mass of errors o

[zeromq-dev] Errors building a DLL which includes ZeroMQ (0MQ) functionality.

2013-07-16 Thread Riskybiz
It's clear that something is significantly wrong here; does anyone know what it could be? Or what steps are needed to build a DLL in Visual Studio 2012 using the ZeroMQ libraries. (Note: I've used Boost libraries in the same manner, for a DLL, without all this trouble!)

[zeromq-dev] Errors creating a DLL including ZeroMQ libraries

2013-07-16 Thread Riskybiz
It's clear that something is significantly wrong here; does anyone know what it could be? Or what steps are needed to build a DLL in Visual Studio 2012 using the ZeroMQ libraries. (Note: I've used Boost libraries in the same manner, for a DLL, without all this trouble!) Hope you

Re: [zeromq-dev] Using ZeroMQ in VS2012 C++

2013-07-14 Thread Riskybiz
build on Visual Studio 2012? If so how did you do it? With thanks, Riskybiz ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev