[Time] Name | Message |
[01:23] jodaro
|
evening
|
[01:27] jodaro
|
if anyone is familiar with zeromq and clojure, i've run into an issue and i'd love to know if anyone else has seen/fixed it
|
[08:51] Alfred
|
hi i have a question, im new at the zero qm community and i wants to test those examples given in the guide. ive installed zmq version 2.10 and now trying to compile some c++ examples an get many errors like that: test_1.cpp:(.text._ZN3zmq7error_tC2Ev[_ZN3zmq7error_tC5Ev]+0x25): undefined reference to `zmq_errno' /tmp/ccbCc392.o: In function `zmq::error_t::what() const': Can anyone help me please ?
|
[08:51] Alfred
|
may i have to install several other packages ?
|
[09:05] sustrik
|
you have to link your app with libzmq
|
[09:15] CIA-79
|
libzmq: 03sustrik 07master * r6cdd720 10/ (163 files in 6 dirs): Merge pull request #220 from 250bpm/HEAD ...
|
[09:26] Alfred
|
i use the original code from the examples e.g. hwserver.cpp an there is zmq.h included, why it doesn't work anyway ?
|
[09:38] sustrik
|
Alfred_: when using C you need to link with your libraries
|
[09:39] sustrik
|
man cc
|
[09:46] mikko
|
Alfred_: how are you building the examples?
|
[10:03] CIA-79
|
libzmq: 03Martin Sustrik 07master * r05ce301 10/ (164 files in 6 dirs): Merge branch 'master' of github.com:zeromq/libzmq - http://git.io/WVpuwg
|
[10:03] CIA-79
|
libzmq: 03Martin Sustrik 07master * r50a9ee6 10/ (builds/msvc/libzmq/libzmq.vcproj src/windows.hpp): MSVC build fixed ...
|
[10:50] Alfred
|
sry mikko, had to do some other work, anyway: i'm building those classes with console command g++ hwserver.hpp
|
[10:51] mikko
|
Alfred_: you need to link against the library
|
[10:51] mikko
|
-l
|
[10:51] Alfred
|
you mean g++ hwserver.hpp -l ?
|
[10:52] mikko
|
Alfred_: no, -lzmq
|
[10:55] Alfred
|
no it compiles without an error, thanks a lot!
|
[12:00] mishari
|
hi. i'm running the mspoller.py example in pyzmq/zguide/examples/Python and I realized that the code waits on the line socks = dict(poller.poll()) indefinitely is this normal?
|
[12:01] mikko
|
mishari: probably if there are no messages coming
|
[12:03] mishari
|
ok. thank you
|
[12:09] mishari
|
ok, i realized i had to wait() a bit first before polling
|
[12:12] mishari
|
instead of waiting() is there anyway to actually check if the connection has been established or not?
|
[12:17] mikko
|
no there is not
|
[12:17] mikko
|
but i dont see why you ned to wait
|
[12:25] mishari
|
ah.. I might not need to wait after the refactoring.. but the code as it stands now if poller.poll() doesn't return, then my entire code is stuck
|
[12:25] mishari
|
there seems to be a sleep() in the pyzmq test suite for poll (that's what I mean by wait)
|
[13:16] CIA-79
|
libzmq: 03Brett Cameron 07master * rde1d32d 10/ src/tcp_address.cpp : Fix getaddrinfo calls to work on OpenVMS ...
|
[19:00] gaurelien
|
Hi everyone
|
[19:03] gaurelien
|
I've been using zmq for a while now in production, and I noticed this morning that the reconnection feature of zmq can cause some instability with our routers, thus I am aiming at limiting it. Are there some best practices to do so ?
|
[19:04] gaurelien
|
From what I have studied, it seems that the ZMQ_RECONNECT_IVL would help. Am I correct ?
|
[20:12] gaurelien
|
the WE being at my door, I will also post a more precise question via the mailing list. Cheers
|