Re: [zeromq-dev] Error: comparison between signed and unsigned integer expressions

2012-07-06 Thread Martin Hurton
Hi Sharon, what revision are you using? Commit eb6c668c2ae961a4a53d11d81dd6d2df5bffa666 from Javier Lopez already fixes that. - Martin On Thu, Jul 5, 2012 at 8:51 AM, Sharon Ben-Asher sharon.ben-as...@avg.com wrote: Hello, I am trying to build ZeroMQ build for Android. I have a VM with

Re: [zeromq-dev] Error: comparison between signed and unsigned integer expressions

2012-07-06 Thread Pieter Hintjens
On Fri, Jul 6, 2012 at 5:28 PM, Martin Hurton hurt...@gmail.com wrote: Hi Sharon, what revision are you using? Commit eb6c668c2ae961a4a53d11d81dd6d2df5bffa666 from Javier Lopez already fixes that. :-) Lol, and my patch unfixes it. Will revert. -Pieter

[zeromq-dev] Full-duplex tcp sockets on io threads

2012-07-06 Thread Rene-Pierre Lehmann
Hi, Is it possible with zeromq to use underlying tcp sockets in a full-duplex fashion? By full duplex I mean that an io thread may read from a tcp socket while another io thread may concurrently write to the same socket. Cheers, Rene-Pierre. ___

Re: [zeromq-dev] Full-duplex tcp sockets on io threads

2012-07-06 Thread Pieter Hintjens
On Fri, Jul 6, 2012 at 5:39 PM, Rene-Pierre Lehmann rplehm...@gmail.com wrote: Is it possible with zeromq to use underlying tcp sockets in a full-duplex fashion? By full duplex I mean that an io thread may read from a tcp socket while another io thread may concurrently write to the same

[zeromq-dev] Using zeroMQ socket from freeradius module

2012-07-06 Thread Max Kuznecov
Hi! I'm facing a strange problem which I'm unable to resolve for about a week, so I decided to ask in the list as a last resort. I've got a system which collects requests from custom freeradius account module, stores them in persistent queue on disk and then serves to the agents, which put them

Re: [zeromq-dev] Using zeroMQ socket from freeradius module

2012-07-06 Thread Max Kuznecov
Oh, sorry I forgot to mention versions: linux centos 6.2, zeromq 2.2.0 2012/7/6 Max Kuznecov m...@mek.uz.ua: Hi! I'm facing a strange problem which I'm unable to resolve for about a week, so I decided to ask in the list as a last resort. I've got a system which collects requests from

Re: [zeromq-dev] Design Suggestion for simple app using zmq

2012-07-06 Thread Diffuser78
There is no particular requirement for the ACKs to be async. The only requirement is that I should be able to may server's ACK to the message that client had sent ? Is there a deterministic way to do that ? I am not planning to use multiple threads. Any other thoughts are welcome. Many thanks.

Re: [zeromq-dev] Websockets as a Transport ?

2012-07-06 Thread Bennie Kloosteman
Hi Mark, Web socket uses tcp underneath so getting through the firewall is no issue just use port 80 , and in fact web sockets ( and things that use port 80 ) have issues with some ISP html proxy servers and load balancers and it will take time for these products to mature to handle web sockets.

Re: [zeromq-dev] Full-duplex tcp sockets on io threads

2012-07-06 Thread Martin Hurton
Now, both read and write operations on a given TCP socket are performed by the same IO thread. See stream_engine implementation. - Martin On Fri, Jul 6, 2012 at 12:57 PM, Pieter Hintjens p...@imatix.com wrote: On Fri, Jul 6, 2012 at 5:39 PM, Rene-Pierre Lehmann rplehm...@gmail.com wrote: Is

Re: [zeromq-dev] Websockets as a Transport ?

2012-07-06 Thread Mark Farnan
Hi Ben, HttpS (more specifically SSL) is mandatory requirement in the Industry, just forget trying to do anything without it that involves the Internet. You are correct that Websockets uses TCP underneath, just the same as HTTP uses TCP underneath, and that's also the issue. The protocol

Re: [zeromq-dev] Using zeroMQ socket from freeradius module

2012-07-06 Thread Ian Barber
On Fri, Jul 6, 2012 at 3:11 PM, Max Kuznecov m...@mek.uz.ua wrote: Oh, sorry I forgot to mention versions: linux centos 6.2, zeromq 2.2.0 Is the context created in the process before the fork happens? Might be worth trying moving where the context and socket are created - it can be tricky