Hello, all,
I'd like to use ZMQ to send complex objects between applications (using
CLRZMQ c# wrapper). Since it is possible to send byte[] arrays only,
I am forced to implement some serialization-deserialization mechanism.
But the hole idea is to be as fast as possible! So it looks like this
Not sure about .NET compatibility but check out Google's Protocol Buffers
http://code.google.com/p/protobuf/
On Jul 17, 2012 12:38 AM, anti_tenzor anti_ten...@mail.ru wrote:
Hello, all,
I'd like to use ZMQ to send complex objects between applications (using
CLRZMQ c# wrapper). Since it is
You could look at json. I have been using it quite heavily
for serialization-deserialization, and it does the job quite well.
On Tue, Jul 17, 2012 at 1:07 PM, anti_tenzor anti_ten...@mail.ru wrote:
Hello, all,
I'd like to use ZMQ to send complex objects between applications (using
CLRZMQ c#
Hi,
FYI I have gone on to restructure the Perl bindings like so:
https://github.com/lestrrat/p5-ZMQ/
# they are also available on CPAN
basically, I moved out the version specific stuff out to ZMQ::LibZMQ2
and ZMQ::LibZMQ3 so that I don't have to put #ifdef s all over the
place.
porting
I've been playing with MessagePack (http://msgpack.org/) for serialization and
BLOSC (http://blosc.pytables.org/trac) for compression. They seem to work
pretty well together. How fast is fast? BLOSC is designed to move data around
in memory faster than memcpy() is able to do it, and I
If you are **really** concerned about performance, I suggest you have your
own protocol that both sides understand.
This way you send data as it is, the remote side would know how to
interpret it.
On Tue, Jul 17, 2012 at 3:27 PM, Cem Karan cfkar...@gmail.com wrote:
I've been playing with
Hi,
I try to write a program to handle multiple sockets.
1.
typedef std::vectorzmq::pollitem_t tPollItemList;
tPollItemList m_oPollItemList;
2. add one entry to m_oPollItemList.
3. call zmq_poll (m_oPollItemList[0], m_oPollItemList.size(), -1);
I found revents is always zero i.e.
tItr-revents
Hi.
I have some service.
Service creates new thread for each request and call function from .dll to
proceed this request.
I write only .dll and can not change service.
What best method to use REQ/REP sockets over inproc and tcp.
If I understood correctly i have to create new context (tcp) and
Hi,
thanks for replays, I really appreciate it, but I still didn't have success
in making it working. Server binds on tcp://192.168.109.255:5560 (my local
address) and client connect to same address, bat they don't communicate.
When they try to receive data (recv()-data;) both becomes blocked.
In
On Jul 17, 2012, at 6:27 AM, moteus wrote:
Hi.
I have some service.
Service creates new thread for each request and call function from .dll to
proceed this request.
I write only .dll and can not change service.
What best method to use REQ/REP sockets over inproc and tcp.
If I understood
Here's a working example using ZMQ::LibZMQ2
https://gist.github.com/3129346
Maybe I wasn't explicit enough, but ZeroMQ.pm is done for. I'm no
longer going to maintain it. please use ZMQ::LibZMQ2 or ZMQ::LibZMQ3
--d
2012/7/17 Marko Trajkov markostraj...@gmail.com:
Hi,
thanks for replays, I
Chuck Remes lists at chuckremes.com writes:
You should create only ONE context. The context can be passed to each thread;
any socket you create in a
thread should only be used from that thread.
I recommend that you read the guide and the FAQ. These ideas are discussed in
both places.
cr
Thanks you. Now is working fine. I didn't understand you at first time.
Kind regards,
Trajkov Marko
On Tue, Jul 17, 2012 at 3:18 PM, Daisuke Maki lestr...@gmail.com wrote:
Here's a working example using ZMQ::LibZMQ2
https://gist.github.com/3129346
Maybe I wasn't explicit enough, but
Using the downloaded stable version 2.2 code I cannot get ZMQ to compile with
the --with-pgm option. The project is too far along to make the switch to v3 so
that's not an option atm. Any other solutions or is ZMQ dead for me?
Error:
Making all in build-staging/openpgm/pgm
...
In file included
On 17 July 2012 02:22, Ron Elliott bluerocketdeliv...@gmail.com wrote:
Using the downloaded stable version 2.2 code I cannot get ZMQ to compile
with the --with-pgm option. The project is too far along to make the switch
to v3 so that's not an option atm. Any other solutions or is ZMQ dead for
Hi,
I did some extensive testing of serialization libraries (tested C++ and Java
implementations) more or less 3 months ago. Two products that I liked the most
were MessagePack and Google Protocol Buffers. For my case, where I need to have
self-describing serialization, I've chosen MessagePack.
I'm not the OP however would it be possible for you to explain why you
chose MessagePack over ProtoBufs? I currently use ProtoBufs myself and
don't have any issues with it however I think this would be interesting to
know
On Jul 17, 2012 2:18 PM, Andrzej Dworak andrzej.dwo...@cern.ch wrote:
Hi,
Trying to use jzmq under android.I generated using zmq3.x procedure, having to
change config.sub and config.guess files but generation is OK and match the
scheme on http://www.zeromq.org/build:android.
But I always get unsatisfiedlink error when loading library libjzmq
(loadlibrary(jzmq)),
Same answer as before. I paste it down there.
*Hi,
In that case it seems that you discovered something serious.
I took a look at it, and indeed the assign() symbol from std::string class
seems undefined.
That would mean, Android does _not_ define such a function in its SDK.
Now, the proper way
perhaps this is an option: http://www.crystax.net/en/android/ndk/7
On Jul 17, 2012 3:48 PM, Victor Perron vic...@iso3103.net wrote:
Same answer as before. I paste it down there.
*Hi,
In that case it seems that you discovered something serious.
I took a look at it, and indeed the assign()
ZMQ 3.2.0-rc1 was built with the latest Sun Studio C/C++ compilers,
with CFLAGS and CXXFLAGS=-fast -library=stlport4.
$ uname -a
SunOS xx 5.11 11.0 i86pc i386 i86pc
$ CC -V
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
$ cc -V
cc: Sun C 5.12 SunOS_i386 2011/11/16
The syncpub/syncsub example from
Thanks,
I replaced assign by clear/append. But it still not works...something make me
feel that I don't have any STD lib available :making a call
to arm-linux-androideabi-ld libjzmq.so give me this :
/home/xxx/libjzmq.so: undefined reference to `std::basic_ioschar,
std::char_traitschar
I regenerated with http://www.crystax.net/en/android/ndk/7,
now, arm-linux-androideabi-ld libjzmq.so doesn't return any link problem
(anymore) with Lib STD : Great!
But still same problem in the android application : loadlibrary works with zmq
and still fails (unsatisfies link error) with jzmq.
23 matches
Mail list logo