[zeromq-dev] failed to filter topic in pub/sub
Alex Yu
alexcwyu at gmail.com
Sat Mar 20 21:17:57 CET 2010
Martin,
Attached is the code.
I tried Jeff version and your version and can't get them work.
Please see what's the problem.
Thanks,
Alex
-----Original Message-----
From: Martin Sustrik [mailto:sustrik at 250bpm.com]
Sent: 21 March 2010 03:56
To: Alex Yu
Cc: zeromq-dev at lists.zeromq.org
Subject: Re: [zeromq-dev] failed to filter topic in pub/sub
Alex,
> I tried the c# binding contributed by Jeff / Martin.
>
>
>
> Subscribers can get message if I didn't filter the topic.
>
>
>
> But they fail to get message when I set the topic filter by specific
prefix.
>
>
>
> Can I filter the topics in C# like those in C/ C++ ?
>
> s.setsockopt (ZMQ_SUBSCRIBE, "xy.", 3);
You should be able to. Can you attach the piece of code that you are
having problems with?
Martin
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4961 (20100320) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4961 (20100320) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Publisher.cs.txt
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100321/8862a8f4/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Subscriber.cs.txt
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100321/8862a8f4/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ZMQ.cs.txt
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100321/8862a8f4/attachment-0002.txt>
More information about the zeromq-dev
mailing list