I looked into this also. I got it sort of working. Basically the trick is
that IOCP doesn't just let you probe if there is data/connection or
anything waiting. So for each connection you need to have something queued
at all times. I just went looking for the code and it appears i lost it
with a HD
When i was looking into this problem, there is some good discussions
about IOCP and 0mq almost seems like it would have been nice to have this on
a wiki somewhere, because the topic keeps coming up and it took me awhile to
find all of the posts.
I don't know the internals of 0mq very well, but f
WaitForMultipleObjects only supports 64 (MAXIMUM_WAIT_OBJECTS) handles.
- brad
On Wed, Sep 28, 2011 at 11:28 AM, Steven McCoy wrote:
> On 28 September 2011 11:26, Martin Sustrik wrote:
>
>> On 09/28/2011 05:21 PM, Steven McCoy wrote:
>>
>> Should I try re-writing everything to use Windows ev
What is the SP mailing list. I would be interested in seeing this logic in
zeromq. As it stands i feel pub/sub filtering is pretty worthless. For my
application I've re-implemented a pub sub using dealers, routers
and subscriptions.
- brad
On Wed, Aug 31, 2011 at 7:39 AM, Martin Sustrik wrote:
I've been trying to find out if its okay to use a socket across different
threads. I understand that i can't use them at the same time
across different threads, but I would implement this using some sort of
connection pool. So a single socket would be used in a single thread at any
given time, but