[zeromq-dev] ZeroMQ and UDP

2018-06-08 Thread Bernardo Augusto García Loaiza
Hi ZMQ people. Why UDP is only supported on ZMQ_RADIO and ZMQ_DISH sockets? Are these sockets even used currently? Best Regards Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial

Re: [zeromq-dev] PUB-PULL Messaging Broker Improve the messaging

2018-03-23 Thread Bernardo Augusto García Loaiza
about of how to start with these experiments. How to can I measure the arrival time of messages on each peer when these messages departure from their source or origin peer? Thanks. Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática

[zeromq-dev] PUB-PULL Messaging Broker Improve the messaging

2018-03-22 Thread Bernardo Augusto García Loaiza
the performance of the messaging system? Is possible think in one thread by each message routed to the receiver? I would meet your considerations about it Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial

Re: [zeromq-dev] How to work with poll on socket ZMQ_SUB

2018-03-22 Thread Bernardo Augusto García Loaiza
g << std::endl; // Do some 'work' sleep(1); // Send reply back to client // s_send(responder, "Hola soy un responder 1"); } } Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial On

[zeromq-dev] How to work with poll on socket ZMQ_SUB

2018-03-22 Thread Bernardo Augusto García Loaiza
<< "Message Received " << rc << endl; return 0; } based in this sample http://zguide.zeromq.org/cpp:mspoller Here create a poll set but I unknow the reason. Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Univ

[zeromq-dev] ZMQ_DEALER have some identity by default

2018-03-15 Thread Bernardo Augusto García Loaiza
Hi ZMQ people. The different sockets types , by default zmq assign the identity value ? How to know I the IDENTITY of a socket created ? Best Regards Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me

Re: [zeromq-dev] ZMQ DEALER - ROUTER Communication

2018-03-15 Thread Bernardo Augusto García Loaiza
d DEALER C previously so that this message to arrive him? How to know the identity frames of each DEALER existent on my implementation? This is made on the ROUTER side? I haven't clear this. Best Regards Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería I

Re: [zeromq-dev] ZMQ DEALER - ROUTER Communication

2018-03-15 Thread Bernardo Augusto García Loaiza
Hi Stephen. Thanks for your answering I am set the identity of each peer/client in their respective ZMQ_DEALER client-side with client.setsockopt(ZMQ_IDENTITY, "PEER1", 5); When this ZMQ_DEALER client send a message to ZMQ_ROUTER Bernardo Augusto García Loaiza Ingeniero d

[zeromq-dev] ZMQ DEALER - ROUTER Communication

2018-03-14 Thread Bernardo Augusto García Loaiza
ndo"); std::string string = s_recv(peer2); std::cout << "Received reply " << request << " [" << string << "]" << std::endl; } } But each that I execute some c

[zeromq-dev] About of test The Asynchronous Client/Server Pattern

2018-02-22 Thread Bernardo Augusto García Loaiza
mmunication may be client to client directly? I write to this mail list with the order to share my considerations and learn and receive some orientation of you ZMQ people in relation to the appropriate pattern to achieve bidirectional, asynchronous messages between two client nodes. Bernardo August

[zeromq-dev] How to get data a ZMQ_PUB service?

2018-02-12 Thread Bernardo Augusto García Loaiza
source / application ... ? [image: Inline image 1] Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

[zeromq-dev] Considering ZMQ patterns to many clients - server implementation

2018-02-09 Thread Bernardo Augusto García Loaiza
There is the REQ-REP an d PUB-SUB patterns between others... [image: fig2.png] [image: fig4.png] How to ZMQ_PUB get the data that send to subscribers? The ZMQ_PUB process is connected or communicate with some data source ? ... I guess.. I think that I will should test ... sure ! but ... A

[zeromq-dev] Using zmqpp client tool

2018-02-05 Thread Bernardo Augusto García Loaiza
, rep ENDPOINT is any valid 0mq endpoint. But the connection options is not clear for me ... I have a socket server in the port/ Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial

Re: [zeromq-dev] Building C++ binding zmq - zmqpp step

2018-02-05 Thread Bernardo Augusto García Loaiza
Thanks Thomas. I've install the libboost-test-dev with apt-get in my machine and all it's works ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Building C++ binding zmq - zmqpp step

2018-02-02 Thread Bernardo Augusto García Loaiza
all or setup the -lboost_unit_test_framework library ? ... just in case that I am in right in my appreciation problem ... Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-30 Thread Bernardo Augusto García Loaiza
jects sent and the objects received in relation of their real content ... In any case, how to can I remove the strings or characters symbols that are added in the message arrived to the server? Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería I

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-27 Thread Bernardo Augusto García Loaiza
Hi Luca, this mean, then, with structured string or data is necessary some middleware entity like GPB such as Thomas tell us ... Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://about.me/bgarcial On Sat, Jan 27

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-26 Thread Bernardo Augusto García Loaiza
something like Google Protocol Buffer, This mean, is because in this case I am not sending any structures data members? I appreciate one more your orientation Bernardo Augusto García Loaiza Ingeniero de Sistemas Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT http://ab

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-26 Thread Bernardo Augusto García Loaiza
t that 10 bytes corresponds to a C/C++ struct of a given layout > until you tell it. Different platforms (CPU architectures) have potentially > different representations of fundamental types. > > On Thu, Jan 25, 2018 at 4:37 PM Bernardo Augusto García Loaiza < > botib...@gmail.com>

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-25 Thread Bernardo Augusto García Loaiza
layout as your C++ struct. >> >> You can also investigate any number of serialization libraries that have >> C++ and Python support, eg ProtoBufs or Thrift, or MagPack or whatever. >> >> On Wed, Jan 24, 2018 at 5:26 PM Bernardo Augusto García Loaiza < >> b

Re: [zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-25 Thread Bernardo Augusto García Loaiza
e > C++ and Python support, eg ProtoBufs or Thrift, or MagPack or whatever. > > On Wed, Jan 24, 2018 at 5:26 PM Bernardo Augusto García Loaiza < > botib...@gmail.com> wrote: > >> Hi, ZMQ people. >> Greetings. >> >> >> I have a C++ zeromq

[zeromq-dev] Communication between C++ zmq client and Python zmq Server

2018-01-24 Thread Bernardo Augusto García Loaiza
Hi, ZMQ people. Greetings. I have a C++ zeromq client process in which I am sending some data members structures *ZMQComponent.h* file #include #include // To Quat datatype #include using sofa::defaulttype::Quat; using std::string; namespace sofa { namespace component { namespace