[zeromq-dev] Python to C++ PUB-SUB Socket

Nathan Hui ntlhui at gmail.com
Wed Oct 8 19:35:51 CEST 2014


Hi all,

I'm working on providing sensor information from a Python script to a 
C++ program that processes that information.  Right now, I am having 
trouble getting the Python socket to talk to the C++ socket. I first 
tried setting up the Python socket as a PUB socket, and the C++ side as 
a SUB socket, but that didn't work.  I then sanity checked myself with 
the ZMQ examples, using wuserver.py and wuclient.cpp, but those would 
not talk to each other (but wuserver.py and wuclient.py talked to each 
other, and wuserver.cpp and wuclient.cpp talked to each other).  Does 
anyone have advice on how to make this work?

Project is BBB_SACP, located at https://github.com/UCSD-E4E/BBB_SACP.

Regards,

Nathan Hui
Project Lead
Engineers 4 Exploration, UC San Diego
ntlhui at gmail.com



More information about the zeromq-dev mailing list