Any C++ examples for the protobuf API?
Any C++ examples for the protobuf API?
26 May 2017, 10:46
Hi there,
I'm trying to work with the Protocol Buffer API using C++. (also known as the "Trader" API)
There aren't any examples in the Spotware Connect documentation on how to do this. Does anyone have any C++ examples of their own that they could show me?
I understand how to generate the C++ protobuf classes. I just don't get how to use them very well, nor can workout how to send them as messages in a secure socket connection.
(I'm new to C++, so it's hard to work this out without some examples ...)
I'm currently experimenting with the Poco project library for doing socket connections, but can't seem to get it to work.
Yes I know I could just use another language like C# or Java, but this project has to be in C++ as per my client's requirements.
Does anyone work with the Protocol Buffer API in C++ that could give me a few pointers ?
Cheers,
-adam