I’m trying to retrieve data from a server written in C++ which I used Protobuf + ZMQ, the program written in Rust receive messages from server, but I’m having trouble to interpret the message, seriously, I don’t have any idea how to do it. It’s used the Protobuf (githut: stepancheg/rust-protobuf) and the ZMQ (github: erickt/rust-zmq).
Here is the code.
In src/main.rs there is the code. In src/state.proto there is the proto. In image/working.png there is a image with the working, on the left has the package sent and on the right has the package received.
May you help me? I’m not asking you to implement, only how may I do this.