Re: [zeromq-dev] Compiling zmq inside program

2012-01-11 Thread malist imap
Martin Sustrik kirjoitti 11.tammi.2012 kello 13.30: Hi Pasi, I tried to compile zqm as a static library but it is just too much work with every version. I was able to do it with older VisualStudio, but with VS2010 and zmq 3.1.1 I just can't get it to work any more. What's the error you

Re: [zeromq-dev] Resource temporarily unavailable

2011-12-27 Thread malist i
On 25/12/11 20:46, malist i wrote: In windows XP and VisualStudio2010 my code crashes in zmq::xrep_t::xrecv method in line zmq_assert (it != outpipes.end ());. This definitely is a bug in 0MQ. Can you please create a ticket in the bug tracker so that it is not lost? Thanks! Martin

Re: [zeromq-dev] Resource temporarily unavailable

2011-12-25 Thread malist i
I think there are something wrong in 3.1.0 beta release with ZMQ_ROUTER. I changed my C code exactly as said in Upgrading from libzmq 2.1 to 3.1, http://www.zeromq.org/docs:3-0-upgrade. My code works with 2.1.8 and 2.1.11 but it does not work with zeromq-3.1.0-beta (from web page). I tried

Re: [zeromq-dev] zeromq-dev Digest, Vol 48, Issue 2

2011-12-01 Thread malist imap
zeromq-dev-requ...@lists.zeromq.org kirjoitti 2.joulu.2011 kello 1.46: Please find enclosed two patches to add MSVC2010 project files to libzmq 3.1. They include just the original libzmq project configurations for both 32- and 64-bit platforms. I suggest that any static library

Re: [zeromq-dev] Windows throughput perfomance. Once again.

2011-06-28 Thread malist i
Hello. I have used Apache APR (http://apr.apache.org/) based code for my rpc application. In my tests I found that connecting to Windows 7 or XP server performance was much worse than connecting to Mac OSX server. Finally I found this tech note Slow performance occurs when you copy data to a

[zeromq-dev] Interesting C-libraries

2011-06-28 Thread malist
Hello. I found interesting discussion on Apache dev list about future development: http://www.gossamer-threads.com/lists/apache/dev/399806?page=last 4 projects that maybe could form the baseline for something new. pocore: For base OS portability and memory pooling system.

Re: [zeromq-dev] zmq REQ to multiple REP sockets (Pieter Hintjens)

2011-02-10 Thread malist
Thank you Pieter for your comments. I will report later how this goes. Classic client-server must be very common scenario and if we find well working design I think it would help others too. If this is going to work the code will be running inside database server application. It must not

Re: [zeromq-dev] zfl build fails in osx

2011-02-10 Thread malist
Hello Pieter. Seems like a lot of changes, great. Now zfl builds in OSX, but mtrace seems to be missing in OSX. ./selftest Rebuilding ZFL... Starting selftests... Running ZFL self tests... * zfl_hash: OK Tests passed OK real0m0.053s user0m0.048s sys 0m0.001s ./selftest: line 7:

[zeromq-dev] OSX universal zmq, java and php install and build instructions

2010-11-11 Thread malist
I had lots of trouble finding a way to build 32-bit i386 zmq and be able to build also working Java and PHP bindings. Finally I was able to do it and I want to share this info to others. I used OSX 10.6.5. These 2 scripts will * clone from git * build zeromq2 and zfl as i386+ x86_64

Re: [zeromq-dev] OSX universal zmq, java and php install and build instructions

2010-11-11 Thread malist
I had small error if $MY_ZMQ_PATH/zeromq2/lib_x86_64 folder did not exist: change: cp /usr/local/lib/libzmq.a $MY_ZMQ_PATH/zeromq2/lib_x86_64 to: rm -r $MY_ZMQ_PATH/zeromq2/lib_x86_64 mkdir $MY_ZMQ_PATH/zeromq2/lib_x86_64 cp /usr/local/lib/libzmq.a $MY_ZMQ_PATH/zeromq2/lib_x86_64 -Pasi

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread malist
How can I can stop in my own project breakpoints? I answer my own question. After more Googling I found: http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/132b7383-7941-4665-b0f1-ccf024b9c601 * I changed libzmq debug project so that it generated libzmq_debug.lib and libzmq_debug.pdb.

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread malist
Hi Pasi, Would you like to create a wiki page for this on the zeromq.org site, maybe in the docs section? Then people can use your experience, and turn that into a guide. Thanks Pieter Hi Pieter. It is better to: a) add static and static debug targets to master b) let someone who

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-08 Thread malist
Here is what I have done to get zmq to compile as static library using Visual Studio Express 2008 in WinXP: First I had to add 2 more includes to my project to be able to compile in Windows: #if VERSIONWIN #include ..\zmq\zeromq2\src\stdint.hpp // for windows

[zeromq-dev] Static library in Visual Studio

2010-11-07 Thread malist
Hello. I'm also zmq newbie and this project seems fantastic. I have been able to compile and use zmq in OSX, but I need a little advice for windows. How can I comple zeromq as static library in Visual Studio? Pasi Mankinen Finland ___ zeromq-dev