NetMQ / Samples

Samples of NetMQ
88 stars 43 forks source link

PubSub sample (WeatherUpdate) doesn't use the recommended multi-part technique #4

Open robvon opened 6 years ago

robvon commented 6 years ago

Although the sample clearly uses a 'topic' based pub/sub system, the topic (in this case a zipcode) is not sent with the pattern shown in the doco:

"pub.SendMoreFrame("zipcode").SendFrame("some stuff");" where "zipcode" is the topic

ie the SendMoreFrame is not used for the topic.

The publish call includes the zip in the message....not as the topic. I guess it works because the subscriber is programmed to suit....

Regards

Rob